• Resolved nene

    (@wpdreamer)


    When I post something the homepage gets updated and that’s great. But pages 2, 3, 4… don’t. Because of that my visitors don’t see the new posts on those pages until expiration time. (8 hours, change it to 1 hour today).
    I publish ~5 posts per day, sometimes 20.
    How to fix this problem? Can I exclude the latest pages from caching?

    I think it would be really great if we could be able to set different expiration time for latest (2 to 5) pages.

    Otherwise this is a fantastic plugin. Thanks.

    https://ww.wp.xz.cn/plugins/quick-cache/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Raam Dev

    (@raamdev)

    It’s not currently possible to set a custom expiration time for a given URI, but you can exclude specific URIs from being cached altogether using URI Exclusion Patterns (available in Quick Cache Pro).

    For example, you could add /page/ to the URI Exclusion list to prevent all paginated pages (/page/2/, /page/3/, /page/25/, etc.) from being cached.

    This would not affect the home page itself, which would continue to be cached as usual.

    If you only wanted to exclude pages 2-5 from being cached, then you could simply add those URI’s to the exclusion list like this:

    /page/2/
    /page/3/
    /page/4/
    /page/5/

    Then only those pages would be excluded from the cache.

    Thread Starter nene

    (@wpdreamer)

    I just did that, thanks Raam. Now I can also set now a higher expiration time.

    Cheers 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Exclude latest pages?’ is closed to new replies.