In HTML4, we used things like
<meta http-equiv="Pragma" content="no-cache" /> <meta http-equiv="Cache-Control" content="no-cache, must-revalidate" /> <meta http-equiv="Expires" content="Thu, 01 Jan 1970 00:00:00 GMT" />
so that the browser does not cache pages.
What should I use in HTML5 so that the browser does not cache my pages. I do not want all pages to be cached .
I saw something about
<html manifest="example.appcache"> ... </html>
but it seems like a lot of work is to specify all the pages of the entire web application to prevent the browser from caching anything.
Is there an easier way?
If I omit part of the manifest from the html tag, will this make the browser not cache anything? I.e.
<html> ... </html>
Or will he assume that everything is in the cache?
source share