How To Leverage Browser Caching
|
02-18-2014, 06:40 AM
Post: #1
|
|||
|
|||
How To Leverage Browser Caching
Please Help Me How to leverage cache browsing..
this is message about it FAILED - (No max-age or expires) - http://seotoolsoft.blogspot.com/ |
|||
02-20-2014, 02:11 AM
Post: #2
|
|||
|
|||
RE: How To Leverage Browser Caching
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, 03:06 AM
Post: #3
|
|||
|
|||
RE: How To Leverage Browser Caching
(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? |
|||
02-20-2014, 07:08 AM
(This post was last modified: 02-20-2014 07:09 AM by robzilla.)
Post: #4
|
|||
|
|||
RE: How To Leverage Browser Caching
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 |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)