Leverage Browser Caching issues
Permalink 1 user found helpful
I'm having some issues getting my site to allow for leverage broswer caching.
Should my .htaccess file look like this the following?
Also, what should my cache & speed settings be?
Thanks,
Chris
Should my .htaccess file look like this the following?
<IfModule mod_expires.c> # Enable expirations ExpiresActive On # Default directive ExpiresDefault "access plus 1 month" # My 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
Viewing 15 lines of 27 lines. View entire code block.
Also, what should my cache & speed settings be?
Thanks,
Chris
This is what I have in my .htaccess:
Viewing 15 lines of 42 lines. View entire code block.
That didn't do anything for me.
The site I'm working on is executive-lodging.com
I'm going to try updating to the latest version of concrete5 and see if that helps.
The site I'm working on is executive-lodging.com
I'm going to try updating to the latest version of concrete5 and see if that helps.
Updating concrete5 didn't do a thing for me. I tried modifying the .htaccess on two other sites I run with concrete5 and it really helped out. This one seems to have an issue.
Good news.
I usually put that stuff in by default to help with page speed and browser caching.
The C5 rewrite is from turning on pretty url's.
Also depends if the server has the mods in place?
I usually put that stuff in by default to help with page speed and browser caching.
The C5 rewrite is from turning on pretty url's.
Also depends if the server has the mods in place?
I think it must be a server issue. It's the only site that's not hosted by me.
Ask server guys to apply mods