cache static content only bad grade
|
01-10-2014, 08:17 PM
(This post was last modified: 01-10-2014 08:17 PM by robzilla.)
Post: #2
|
|||
|
|||
RE: cache static content only bad grade
The .htaccess rules above affect gzip compression of text files, not caching. According to your test results, you have this enabled.
To enable caching of static files using .htaccess, however, consider adding something like this: Code: <FilesMatch "\.(jpg|jpeg|png|gif|js|css|ico)$"> Add or remove file extentions, and change the expiry time, as you see fit (2592000 is roughly 1 month). |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
cache static content only bad grade - domabout - 01-09-2014, 11:39 AM
RE: cache static content only bad grade - robzilla - 01-10-2014 08:17 PM
|
User(s) browsing this thread: 1 Guest(s)