Jump to content
Дизайн и модификация IPS Community IPBSkinsBETA
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Атаман

Включить сжатие Gzip

Recommended Posts

В 4 в админке нет настройки которая позволяет включать Gzip.

 

В init нашёл строки отвечающие за админцентр

 

if( !@ini_get('zlib.output_compression') )
{
define( 'IPB_ACP_USE_GZIP', 1 );
}
else
{
define( 'IPB_ACP_USE_GZIP', 0 );
}

 

А, как быть для публичной части?

Share this post


Link to post
Share on other sites

IPS 4 использует gzip по умолчанию если браузер поддерживает сжатие и в php установлено расширение zlib.

  • Upvote 1

Share this post


Link to post
Share on other sites

В init.php нашёл строки отвечающие за админцентр

 

В 4-ке нет файла initdata.php. Это от 3-ки осталось.

  • Upvote 2

Share this post


Link to post
Share on other sites

Спасибо всем. нужно всё лишнее удалить.

 

Увеличил сжатие то 5 (и гугл одобрил).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...