• Resolved MM-Digital

    (@mm-digital)


    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?

    https://www.ads-software.com/extend/plugins/events-manager/

Viewing 1 replies (of 1 total)
  • Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    Strange that EM would affect this because we don’t do anything to modify these headers. I tried this out and it’s true… however other plugins that mess with CPTs seem to have this too.

    I’d say consider getting a caching plugin. We use W3 Total Cache on our demo and the headers are corrected accordingly.

Viewing 1 replies (of 1 total)
  • The topic ‘Events Manager – Pragma: no-cache’ is closed to new replies.