Hyper Cache
Hyper Cache does not invalidate the home page (3 posts)

  1. Delete Me
    Posted 5 years ago #

    If I set my blog to use a static home page with the blog itself being in a secondary page, I noticed Hyper Cache only invalidates the blog page, but not the home page, even when I have it set to invalidate the home, archive and category pages whenever I create a new post. The result is that these new posts don't show on the home page until cache expires. Not a big deal, but I'm wondering if there's a way to refresh the home page as well whenever a new post is modified or generated. Anyone know?

  2. Arlo
    Posted 5 years ago #

    I had the same problem. Luckily, there is a workaround of sorts. Stick this at the top of the home page template:

    global $hyper_cache_stop; $hyper_cache_stop = true;

    Unfortunately this completely turns cache off for the page, not force a refresh. In my case, the home page is updated so often, it's not worth caching anyway.

    It's explained a bit more in the docs

  3. wpvince
    Posted 5 years ago #

    Will this be resolved in new version?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Hyper Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic