• Resolved georgepennet

    (@georgepennet)


    Hi. Could you please help me how I can clear cache on homepage and one custom page when a post in specific category ID is published? (even when it’s scheduled).

    There is a somewhere a ready to use a code for that?

    Thank you

Viewing 1 replies (of 1 total)
  • Plugin Contributor iSaumya

    (@isaumya)

    Hi,

    When you publish or update any article, the cache of the home page and the taxonomy pages like category, tags etc. that are associated with that post is auto purged.

    You can also take advantage of the swcfpc_post_related_url_init filter to add more URLs to the related urls list so that they are purged when posts gets published/updated.

Viewing 1 replies (of 1 total)

The topic ‘Clear cache after post is published’ is closed to new replies.