php - How to handle file changes when browser caching is enabled? -
i found following cache htaccess rules have 2 questions
- is 1 php included in this? is under "html" since runs on server , results shown client?
- second question let's made css changes theme.css. suppose visitor not new version, should add
theme.css?7362340
different sequence every time made changes ?
here htaccess
<ifmodule mod_expires.c> expiresactive on expiresbytype image/jpg "access 1 year" expiresbytype image/jpeg "access 1 year" expiresbytype image/gif "access 1 year" expiresbytype image/png "access 1 year" expiresbytype text/css "access 1 month" expiresbytype text/html "access 1 month" expiresbytype application/pdf "access 1 month" expiresbytype text/x-javascript "access 1 month" expiresbytype application/x-shockwave-flash "access 1 month" expiresbytype image/x-icon "access 1 year" expiresdefault "access 1 month" </ifmodule>
Comments
Post a Comment