Events Manager – Pragma: no-cache
-
Hi all,
The following headers are returned for all pages, sitewide, when we enable Events Manager:
Cache-Control no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Connection Keep-Alive Content-Type text/html; charset=UTF-8 Date Thu, 15 Nov 2012 03:33:07 GMT Expires Thu, 19 Nov 1981 08:52:00 GMT Keep-Alive timeout=5, max=100 Pragma no-cache Server Apache Transfer-Encoding chunked X-Pingback https://d.example.com/xmlrpc.php X-Powered-By PHP/5.3.6
In particular, note the pragma no-cache and cache-control headers, which don’t seem optimal if we want – at a minimum – browser caching to occur.
Since I was concerned that this is one of our older WP installs combined with an older EM plugin could’ve been the culprit, I installed a vanilla WP 3.4.2 and EM 5.2.9 instance. The same headers are returned. Disabling EM and reloading returns what I consider to be proper headers:
Connection Keep-Alive Content-Length 7806 Content-Type text/html; charset=UTF-8 Date Thu, 15 Nov 2012 03:37:48 GMT Keep-Alive timeout=5, max=90 Server Apache X-Pingback https://example.com/wp2/xmlrpc.php
Environmental details are WP 3.4.2, EM 5.2.9, PHP 5.3.6, MySQL 5.5.9 running under MAMP; similar configuration on production servers with MediaTemple.
Any ideas?
- The topic ‘Events Manager – Pragma: no-cache’ is closed to new replies.