• I am running bbPress on our site and I have two do not cache strings which block caching of the bbPress forum pages, topics, replies, etc. They are:

    /forums/
    /our-forums/

    When I run a preload, it tries to preload posts that match these paths which causes the preload to hang. Normal caching does avoid the bbPress posts so I think the do not cache strings are probably OK. Can you please help me to disable caching of the bbPress Topics and Replies?

    Thank you,

    Fred

Viewing 3 replies - 1 through 3 (of 3 total)
  • You could add the constant DONOTCACHEPAGE to the bbpress config file which would stop the plugin caching any of those pages.

    Unfortunately the preload will probably still call those pages if they’re in the posts table. ??

    Thread Starter n1fdadmin

    (@n1fdadmin)

    Thank you for getting back to me. Would it be possible to have an enhancement to this excellent plugin to disable all caching for specific content types? This would allow many users to avoid caching things from various plugins which create custom post types without requiring constant updates to your code. It should be possible to exclude a list of custom post types. Thank you for your consideration.

    Sa?a

    (@stodorovic)

    Hi @n1fdadmin

    Since version 1.5.4 ( https://github.com/Automattic/wp-super-cache/pull/336 ), you can use filter wpsc_preload_post_types.

    Sasa

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Preload processing posts that match do not cache strings’ is closed to new replies.