apache - Why am I getting a Leverage Browser Caching error on Google PageSpeed Insights -
the page www.catsmeowcruises.com/beta
i'm using apache2 , have enabled both headers , expires , restarted server. .htaccess page looks this
rewriteengine on rewritecond %{http_host} !^www\. rewriterule ^(.*)$ http://www.%{http_host}/$1 [r=301,l] <ifmodule mod_expires.c> # enable expirations expiresactive on # default directive expiresdefault "access plus 1 month" # favicon expiresbytype image/x-icon "access plus 1 year” # images expiresbytype image/gif "access plus 1 month" expiresbytype image/png "access plus 1 month" expiresbytype image/jpg "access plus 1 month" expiresbytype image/jpeg "access plus 1 month" # css expiresbytype text/css "access 1 month” # javascript expiresbytype application/javascript "access plus 1 year" </ifmodule> and placed /var/www/html website in /var/www/html/catsmeowcruises.com/beta
however, still errors leverage browser caching
Comments
Post a Comment