2016-06-08, 07:41 PM
Did run a page speed test at Google Pagesteed Insights before and after adding some rules to .htaccess
Got from 79/100 to 84/100, so a little faster loadtime, with more or less no work to make the change.
So if someone want a little faster site, add this rules to your .htaccess
Change in Admin panel. General Settings/Server and optimization settings/ Send No Cache Headers to ON in (otherwise new reply or thread will not show up before cache refresh)
Got from 79/100 to 84/100, so a little faster loadtime, with more or less no work to make the change.
So if someone want a little faster site, add this rules to your .htaccess
## EXPIRES CACHING ##
ExpiresActive on
ExpiresByType text/css "access plus 14 days"
ExpiresByType text/xml "access plus 0 seconds"
ExpiresByType text/javascript "access plus 1 month"
ExpiresByType text/x-javascript "access plus 1 month"
ExpiresByType application/javascript "access plus 1 month"
ExpiresByType application/x-javascript "access plus 1 month"
ExpiresByType image/ico "access plus 14 days"
ExpiresByType image/jpg "access plus 14 days"
ExpiresByType image/jpeg "access plus 14 days"
ExpiresByType image/gif "access plus 14 days"
ExpiresByType image/png "access plus 14 days"
ExpiresByType image/svg+xml "access plus 1 month"
ExpiresByType text/html "access plus 14 days"
ExpiresByType video/ogg "access plus 1 month"
ExpiresByType audio/ogg "access plus 1 month"
ExpiresByType video/mp4 "access plus 1 month"
ExpiresByType video/webm "access plus 1 month"
ExpiresByType application/x-font-woff "access plus 1 month"
ExpiresByType application/vnd.ms-fontobject "access plus 1 month"
ExpiresByType application/xml "access plus 0 seconds"
ExpiresByType application/json "access plus 0 seconds"
ExpiresByType application/rss+xml "access plus 1 hour"
ExpiresByType application/atom+xml "access plus 1 hour"
## EXPIRES CACHING ##
Change in Admin panel. General Settings/Server and optimization settings/ Send No Cache Headers to ON in (otherwise new reply or thread will not show up before cache refresh)