• Resolved wpsolution

    (@wpsolution)


    Some pages should not be cached, for example the Сart, Checkout, My account in a Woocommerce. We need a setting that will allow to make exceptions from the PCache.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author docjojo

    (@docjojo)

    please check the new version.

    I have changed to cache only is_single and is_page.

    Thread Starter wpsolution

    (@wpsolution)

    This does not solve the problem with the Woocommerce, for example adding items to the cart via Ajax doesn’t work. I think this will affect any actions related to Ajax requests. But many plugins and themes use Ajax technology, so I think exclusion functions are needed.

    Thread Starter wpsolution

    (@wpsolution)

    So, there is a Super Page Cache for Cloudflare plugin, I will give it as an example because you asked. I have taken screenshots of the main functions that you should take too:
    https://ibb.co/Qdy5MpP
    https://ibb.co/xH6s90F

    Plugin Author docjojo

    (@docjojo)

    this would make things way to complecated (to configure) and slow (as all of these options must be handled with every request.

    instead of blacklisting items that should not be cached, it is easier to whilelist all items that can be cached.

    plus, Super Page Cache apprach requires a complex clean up routine, where my approach allows for easier cache validation.

    please also keep in mind, that caches on disk and other plugins use disk, sqlite, memcached or redis which typically provide more space/memory to cache the pages.

    what is the size of your apcu cache?

    also the caching mechanism differs. where most plugins hook into ob_start, atec cache apcu can shortcut the page generation, thereby increasing speed and it stores gziped content to reduce apcu memory usage.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PCache page exclusions.’ is closed to new replies.