WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] W3 Total Cache Refuses To Cache (5 posts)

  1. Nic Windley
    Member
    Posted 3 years ago #

    I'm having trouble getting any pages on http://nicwindley.co.uk to cache.

    When I run Firebug I see the headers always output as;

    Cache-Control: no-cache, must-revalidate, max-age=0, private, no-cache, no-store, proxy-revalidate, no-transform
    Pragma: no-cache, no-cache

    I've checked the settings in W3 Total Cache and the htaccess file and everything looks correct and I've compared it to another similar site I have used W3 Total Cache on.

    I've disabled all plugins and seem to get the same result which is very strange indeed.

    Any idea what is stopping pages cache and how I can fix this ?

    p.s. I use the WordPress Mobile pack on this site also.

  2. Nic Windley
    Member
    Posted 3 years ago #

    If I cant get support from the community here is there another place I can get some support from ?
    Thanks again,
    Nic

  3. Nic Windley
    Member
    Posted 3 years ago #

    OK, I just ran a debug report which confirms that same ?

    <!-- W3 Total Cache: Page cache debug info:
    Engine: disk (enhanced)
    Key: _index.html
    Caching: disabled
    Reject reason: user is logged in
    Status: not cached
    Creation Time: 0.901s
    Header info:
    Set-Cookie: wpmp_switcher=desktop; expires=Sun, 21-Aug-2011 18:15:19 GMT; path=/
    X-Pingback: http://nicwindley.co.uk/xmlrpc.php
    Expires: Wed, 11 Jan 1984 05:00:00 GMT
    Last-Modified: Sat, 21 Aug 2010 18:15:20 GMT
    Cache-Control: no-cache, must-revalidate, max-age=0
    Pragma: no-cache
    Content-Type: text/html; charset=UTF-8
    X-Powered-By: W3 Total Cache/0.9.1.1
    X-Mobilized-By: WordPress Mobile Pack 1.2.3
    -->

  4. Nic Windley
    Member
    Posted 3 years ago #

    What a plonka! It's 'cause I was logged in.....

    I've logged out and hey presto its caching :-)

    <!-- W3 Total Cache: Page cache debug info:
    Engine: disk (enhanced)
    Key: _index.html
    Caching: enabled
    Status: cached
    Creation Time: 0.003s
    Header info:
    X-Powered-By: PHP/5.2.12
    Last-Modified: Sat, 21 Aug 2010 18:18:36 GMT
    Vary: Accept-Encoding, Cookie
    Expires: Sat, 21 Aug 2010 19:18:36 GMT
    Pragma: public
    Cache-Control: public, must-revalidate, proxy-revalidate
    Etag: 1f49b36ef8b2236bf9ed118a99762fab
    Content-Encoding: gzip
    -->

  5. Frederick Townes
    Member
    Posted 3 years ago #

    Glad you figured it out! :)

Topic Closed

This topic has been closed to new replies.

About this Topic