Post
#1
|
|
|
Grupa: Zarejestrowani Postów: 158 Pomógł: 0 Dołączył: 10.08.2011 Ostrzeżenie: (0%)
|
Witam,
W pliku .htaccess mam następujący kod: Kod <IfModule mod_gzip.c> mod_gzip_on Yes mod_gzip_dechunk Yes mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$ mod_gzip_item_include handler ^cgi-script$ mod_gzip_item_include mime ^text/.* mod_gzip_item_include mime ^application/x-javascript.* mod_gzip_item_exclude mime ^image/.* mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.* </IfModule> RewriteEngine On RewriteCond %{HTTP_HOST} ^sternicy.com.pl$ RewriteRule ^(.*)$ http://www.sternicy.com.pl/$1 [R=301,L] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^(.*)$ $1.php Niestety po wykonaniu testu PageSpeed Insights dalej mam komunikat, aby włączyć kompresję. Czy to błąd w skrypcie, czy coś należy jeszcze dodać/poprawić? Ktoś pomoże? (IMG:style_emoticons/default/co_jest.gif) Ten post edytował senior.pol 26.03.2014, 19:22:50 |
|
|
|
senior.pol [PHP] Problem z kompresją strony 26.03.2014, 19:22:26
IProSoft A próbowałeś z AddOutputFilterByType ? 26.03.2014, 19:29:02 
senior.pol Cytat(IProSoft @ 26.03.2014, 19:29:02... 26.03.2014, 19:40:41
trueblue Na jakim hostingu testujesz? 26.03.2014, 19:34:07
IProSoft Zerknij tutaj: http://gtmetrix.com/enable-gzip-com... 26.03.2014, 21:23:46 ![]() ![]() |
|
Aktualny czas: 23.12.2025 - 10:14 |