• Resolved nikolaikapustin

    (@nikolaikapustin)


    Hello. Since version 1.4 when you update a post the homepage cache is not cleared anymore. Editors can not launch a complete clear cache and it would not even right. Any advice?

Viewing 4 replies - 16 through 19 (of 19 total)
  • Anonymous User 16850768

    (@anonymized-16850768)

    We won’t automatically clear the home page on any given change. It’s only cleared if it’s associated with the post type being published, updated, or trashed (that is if we detect it’s associated). That prevents it from being cleared unnecessarily.

    To clarify, is your home page the defined posts page or just a default page that you’ve created that contains your custom post type somehow? The more specific you are about your setup the better.

    i have the standard homepage of wordpress, which displays the posts chronologically, with hook (pre_get_posts) you can find posts and certain CPT chronologically. with 1.5 the home page is generally not emptied anymore as i just noticed. so my new posts do not appear on home anymore. :-/

    i have now added this function temporarily with Cache_Enabler::clear_page_cache_by_url( get_home_url() ); added should work, right?

    funnily enough, home cache is deleted when I do a cpt update ??

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘updating a post does not clear homepage cache’ is closed to new replies.