WebPagetest Forums

Full Version: How To Leverage Browser Caching
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Please Help Me How to leverage cache browsing..

this is message about it

FAILED - (No max-age or expires) - http://seotoolsoft.blogspot.com/
Any resource that doesn't have an explicit cache-control (pr expires or pragma: no-cache) header will get flagged because you are basically leaving it to the browser to decide how long it can cache the resource locally. Usually for the base HTML people will explicitly put a no-cache header or a very short expires so that users are not stuck with stale content.
(02-20-2014 02:11 AM)pmeenan Wrote: [ -> ]Any resource that doesn't have an explicit cache-control (pr expires or pragma: no-cache) header will get flagged because you are basically leaving it to the browser to decide how long it can cache the resource locally. Usually for the base HTML people will explicitly put a no-cache header or a very short expires so that users are not stuck with stale content.

and what's meta code for it?
You cannot set a custom expiry date on resources served from the blogspot.com domain, since you have no access to the server-side. If you do have access to the <head> section of your pages, the best you can do is add:

Code:
<meta http-equiv="Cache-control" content="public">

The four possible settings are:

Quote:public - may be cached in public shared caches
private - may only be cached in private cache
no-cache - may not be cached
no-store - may be cached but not archived
Reference URL's