Öncelikle hayırlı günler ve herkese yardımları için şimdiden teşekkürler...
Centos7 x64 + Apache 2.4.6 + mod_pagespeed kurulu bir sunucum var, bu sunucuda şu anda sadece 1 tane web sitesi çalışıyor ve sunucuda cache ile gzip olmasına rağmen WooRank raporunda inatla ikisi de yok diye uyarı alıyorum bunu WooRank'a sorduğumda sitenin GET ile HEAD requestleri arasında fark olduğunu öğrendim, GET request ile sorgulama yaptığımda gzip ve cache etiketleri response ile dönüyor ama HEAD request ile yaptığımda dönmüyor... Bunu nasıl düzelteceğimi bir türlü bulamadım, htaccess'te deflate ile ilgili ayarlarda var ama yine de düzelmiyor, kullandığım htaccess ekte... Site kurumsal site olduğu için linkini ne yazık ki veremiyorum...
GET REQUEST SONUCU:
Status: HTTP/1.1 200 OK
Date: Wed, 26 Aug 2015 22:57:51 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Pragma: no-cache
X-UA-Compatible: IE=edge
Cache-Control: max-age=3600
Vary: Accept-Encoding,User-Agent
Set-Cookie: PHPSESSID=ppr2lu8shi091bap4c6f36cj15; path=/
X-Mod-Pagespeed: 1.9.32.4-7251
Content-Encoding: gzip
X-Powered-By: PleskLin
Cache-Control: max-age=0, no-cache, must-revalidate
Content-Length: 9580
Connection: close
Content-Type: text/html;charset=utf-8
HEAD REQUEST SONUCU:
Status: HTTP/1.1 200 OK
Date: Wed, 26 Aug 2015 22:31:00 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Pragma: no-cache
X-UA-Compatible: IE=edge
Cache-Control: max-age=3600
Vary: Accept-Encoding,User-Agent
Set-Cookie: PHPSESSID=910b3uag57bbdecsfpgg0rr7b2; path=/
X-Powered-By: PleskLin
Cache-Control: max-age=0, no-cache, must-revalidate
Connection: close
Content-Type: text/html;charset=utf-8
Htaccess
<ifmodule pagespeed_module>
ModPagespeed on
ModPagespeedRewriteLevel CoreFilters
AddOutputFilterByType MOD_PAGESPEED_OUTPUT_FILTER text/html
AddOutputFilterByType MOD_PAGESPEED_OUTPUT_FILTER application/xhtml+xml
ModPagespeedEnableFilters prioritize_critical_css
ModPagespeedEnableFilters rewrite_images
ModPagespeedEnableFilters extend_cache
ModPagespeedEnableFilters remove_quotes
ModPagespeedEnableFilters collapse_whitespace,remove_comments
ModPagespeedEnableFilters defer_javascript
ModPagespeedEnableFilters elide_attributes
ModPagespeedEnableFilters insert_dns_prefetch
</ifmodule>
<ifmodule mod_deflate.c>
<FilesMatch "\\.(js|css|html|htm|php|xml|woff)$">
SetOutputFilter DEFLATE
</FilesMatch>
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE image/svg+xml
AddOutputFilterByType DEFLATE image/x-icon
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/x-httpd-php
AddOutputFilterByType DEFLATE application/x-httpd-fastphp
AddOutputFilterByType DEFLATE application/x-httpd-eruby
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
AddOutputFilterByType DEFLATE application/x-font
AddOutputFilterByType DEFLATE application/x-font-opentype
AddOutputFilterByType DEFLATE application/x-font-otf
AddOutputFilterByType DEFLATE application/x-font-truetype
AddOutputFilterByType DEFLATE application/x-font-ttf
AddOutputFilterByType DEFLATE font/opentype
AddOutputFilterByType DEFLATE font/otf
AddOutputFilterByType DEFLATE font/ttf
AddOutputFilterByType DEFLATE text/javascript
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
Header append Vary User-Agent
</ifmodule>
<ifmodule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access plus 1 year"
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType image/x-icon "access plus 1 year"
ExpiresByType text/css "access plus 1 week"
ExpiresByType text/html "access plus 1 week"
ExpiresByType application/pdf "access plus 1 week"
ExpiresByType text/x-javascript "access plus 1 week"
ExpiresByType text/javascript "access plus 1 week"
ExpiresByType application/x-shockwave-flash "access plus 1 week"
ExpiresDefault "access plus 1 month"
</ifmodule>
<ifmodule mod_headers.c>
<filesmatch "\.(pdf|flv|swf|mp3|ico|jpg|jpeg|png|gif)$">
Header set Cache-Control "max-age=864000, public, must-revalidate"
Header unset Last-Modified
</filesmatch>
<filesmatch "\.(html|htm|php|xml|txt|xsl|gz)$">
Header set Cache-Control "max-age=7200, private, must-revalidate"
Header append Vary: Accept-Encoding
</filesmatch>
<filesmatch "\.(js|css)$">
Header set Cache-Control "max-age=864000, private"
Header append Vary: Accept-Encoding
</filesmatch>
</ifmodule>
AddDefaultCharset UTF-8
Header unset ETag
FileETag None