Using mod_expires, you can tell visiting browsers to hold on to certain files longer (likes images, which are rarely changed). ss. It should be added to the top of ss file. ## EXPIRES CACHING ## mod_expires.c> ExpiresActive On ExpiresByType. htaccess mod_expires / mod_cache / mod_deflate / mod_headers ss.

Author: Akill Felkis
Country: Trinidad & Tobago
Language: English (Spanish)
Genre: Science
Published (Last): 19 December 2004
Pages: 108
PDF File Size: 15.72 Mb
ePub File Size: 8.9 Mb
ISBN: 772-4-20639-297-9
Downloads: 98038
Price: Free* [*Free Regsitration Required]
Uploader: Grokora

You will also need to check and see if the proxy server will abide by the expiration rules set by the website. After it expired, a new exipre time wont be set by Heuristic expiration policies as we enabled the expire module. Joseph 4 22 How to check whether or not rules were activated? So, I’m asking whether there are instructions code that I can place in the. Hmm, unbelievable, just tried it, and my Page Speed is for the first time over 90 and YSlow over 70…. By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies.

Email Required, but never shown. Sign up using Email and Password. Recently, InMotion staff was able to help me refine my. I was busy with prouction issues and was not able to respond you at the earliest. Kindest Regards, Scott M. Browser caching is good because it allows your web resources to be stored in the browser for faster page load time.


Additional information,In my case proxy server is serving the file from the cache Reply. Thank you, -John-Paul Reply. We are happy to help, but will need some additional information.

Thank you greatly for providing easy to understand instructions! By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service. You can see in the above code that there are time periods like “1 year” or “1 month”. Hello Chris, Thank you for contacting us. Post as a guest Name. From the above steps i replicated the issue, Then i enabled the expire and header module.

I gather there might not be a good solution to this one We just putting the file in docroot and access through the URL. And you don’t need to use max age if you’re also using ExpiresByType calls. I hope this helps to answer your question, please let us know if you require any further assistance. To remove the cache from your browser, your browser cache needs to be cleared. If you list your html and images to be cached for one year or some other long time period, remember that this can mean if you make a change to your pages they may not be seen by all users.

Anything else is just wishful thinking. Ok, just tested this out and it made no change.

I hope this helps to explain the issue! In the 2nd testing, i didnt access the file before enabling the expire module hence there was no expire time set because of that its working fine eventhough many times we do modifying.


Be sure to fully clear all temporary data in your browser. Forcing a file to download in a browser via htaccess 17, hits.

Additional file-types for mod_expires | WP-Mix

By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand expiresbyhype your continued use of the website is subject to these policies. The expireebytype answer with the included script of jcart on a site artchern.

So, change the code above to: This is because the users will look to cached files rather than the live ones. And, as you said, reverse CDN might introduce other problems. Allow public access to a file in a protected directory using.

Leverage browser caching

When visiting a website, the website will cache in your browser. This is useful for files that change occasionally.

After that i accessed the file again but i was getting the same old file even though i expiresbtyype the option. How do I set this?

Was this article helpful? To simplify my question This expire configuration works for the file which is not accessed and cached before in proxyWhat configuration we can do for the file which is already accesed and cached in the proxy and having a expiration date.