Current time: 06-19-2018, 10:37 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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/
Find all posts by this user
Quote this message in a reply
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.
Visit this user's website Find all posts by this user
Quote this message in a reply
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?
Find all posts by this user
Quote this message in a reply
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
private - may only be cached in private cache
no-cache - may not be cached
no-store - may be cached but not archived
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)