Mobile app version of vmapp.org
Login or Join
Smith883

: Set cache control from WAMP such that Firefox reports cached pages in the primed cache report So I tried to allow cache by using <meta http-equiv="Cache-control" content="public, max-age=31536000">

@Smith883

Posted in: #Cache #CacheControl #Firefox #MetaTags #Wamp

So I tried to allow cache by using

<meta http-equiv="Cache-control" content="public, max-age=31536000">


but I'm not sure if the content of my pages are actually being cached. Although I receive a 304 code in Firefox Network Monitor, I get 0 cached responses in primed cache. I should be seeing something like this



This article explains what is see in the network monitor for other sites.

What I am doing wrong? Is this something I must activate in WAMP? Or I must improve something in the tag? I also tried:

header("cache-Control:public, max-age=31536000");
header("last-modified: Thu, 04 Sep 2014 03:30:00 GMT");


and

header("cache-Control:public");
header("last-modified: Thu, 04 Sep 2014 03:30:00 GMT");

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Smith883

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme