• Resolved allways4backup

    (@allways4backup)


    Is it possible to set a shorter cache lifetime per page? In particular, can the translation cache have a different expiration time – especially for the homepage? I publish new content 2–3 times a week and always have to clear the blog homepage manually, because the rest of the cache is still fine, but the homepage cache is no longer up to date. Thanks for a quick hint 🙂

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

    (@gkanters)

    There is no need to clear it manually. If a page is changed and saved, the cache expires immediately. You might want to warm the cache though, but it is not required.

    Thread Starter allways4backup

    (@allways4backup)

    I thought so too. I don’t have any other cache plugin active, but I am using DNS via Cloudflare (without caching) – and tried it also with CF completely disabled too. Currently, the site https://www.cafm-blog.de and the translated version https://www.cafm-blog.de/en are unfortunately not in sync, or rather the homepage differs 🙁

    May you can have a short look and/or idea?

    Else I´ll disable all plugins and re-enable piece for piece 🙂

    Plugin Author Gerard Kanters

    (@gkanters)

    Ah, I see the problem now. You have added a new post and that is not showing up on the front page, because the front page is not an actual page, but the “latest blogs”

    That is a very common setting in WordPress, but the plugin was not taking into account that the front page should expire in that setting.

    I changed it, so when you publish a new post, the front page will expire. But only if your homepage is actually a list of blogs. Latest version 2.3.5 now supports this.

    Please test it by creating another blog and see if the homepage cache expires.

    Thread Starter allways4backup

    (@allways4backup)

    Yepp, now it works like intended. Thanks!

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

You must be logged in to reply to this topic.