Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter gazpachu

    (@gazpachu)

    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

    Thread Starter gazpachu

    (@gazpachu)

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

    Thread Starter gazpachu

    (@gazpachu)

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

    Thread Starter gazpachu

    (@gazpachu)

    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?

    Thread Starter gazpachu

    (@gazpachu)

    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?

    Thread Starter gazpachu

    (@gazpachu)

    I still need an answer to this problem

    Thread Starter gazpachu

    (@gazpachu)

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

    Any luck with this?

    Thread Starter gazpachu

    (@gazpachu)

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

    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 Contributor Frederick Townes

    (@fredericktownes)

    @gazpachu are you all set?

    Thread Starter 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.