Support » Plugin: W3 Total Cache » [Plugin: W3 Total Cache] Object cache breaks my custom archives

Viewing 12 replies - 1 through 12 (of 12 total)
  • The question here is: “How to disable caching for archives”

    I’ve tried setting “news/archives/” in “Never cache the following pages” under the “page cache” tab but that didn’t work

    The source code: http://pastebin.com/SqPqgXHr

    I’ve also couldn’t find information about “Non-persistent groups”. What are those? how can I setup new groups?

    The thing is, it used to work fine before… that’s why I’ve decided to check Trac and I’ve found this in the “w3-total-cache-config.php” file:

    ‘objectcache.reject.uri’ => array(
    0 => ‘/news/archives’,
    ),

    Somehow, this information cannot be edited in the “object cache” tab of the current version of W3TC.

    Any ideas?

    I’ve found the origin of the problem:

    The new version “Version 0.9.2.4” deleted the “never cache the following pages” under the “object cache” configuration page.

    May I ask why it was deleted? is there a workaround?

    I still need an answer to this problem

    Still couldn’t find a way to disable object caching for the archives section 🙁

    Any luck with this?

    No, the problem still there and I have to keep the object cache disabled 🙁

    andreasnrb

    (@andreasnrb)

    You could perhaps add the constant define(‘DONOTCACHEOBJECT’, true); in your archives.php template file?
    Check FAQ How can I prevent caching directly in my templates etc? for more settings.

    Plugin Author Frederick Townes

    (@fredericktownes)

    @gazpachu are you all set?

    gazpachu

    (@gazpachu)

    Yes!, the define(‘DONOTCACHEOBJECT’, true); worked.

    Thank you guys 😉

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[Plugin: W3 Total Cache] Object cache breaks my custom archives’ is closed to new replies.