These forums are currently read-only due to receiving more spam than actual discussion. Sorry.

It is currently Sat Dec 02, 2017 4:22 pm Advanced search

cache-control no-cache directive in the document

Here you can discuss things related to HTML and the Web in general that do not fit in to other categories.

cache-control no-cache directive in the document

Postby tr888 » Fri Jul 23, 2010 2:21 pm

I don't have document-level granular control over cache-policy on the hosting company's server -- whatever policy I'd set would affect all of my pages -- and so I need to specify the cache-policy in the individual document itself. Is that allowed under HTML5? Everything I've tried fails to validate at w3c.

If it is valid to do this in the document rather than in some server-side manifest, what is the HTML5 counterpart to this?

<meta http-equiv="Cache-Control" content="no-cache">

Thanks
tr888
<h6>
 
Posts: 3
Joined: Fri Jul 23, 2010 2:14 pm

Postby tr888 » Fri Jul 23, 2010 2:49 pm

A followup to my earlier question: would this cache manifest mean "don't cache anything"?


CACHE MANIFEST
# This is a comment.
NETWORK:
# All URLs that start with the following lines
# are whitelisted.
CACHE:
# Additional items to cache.
FALLBACK:
tr888
<h6>
 
Posts: 3
Joined: Fri Jul 23, 2010 2:14 pm


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 0 guests