Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Taylor Lovett

    (@tlovett1)

    The plugin does not do that automatically. The Github version has a function sc_flush_cache() that you could hook into save_post.

    Thread Starter Chuck Reynolds

    (@ryno267)

    but if i wanted to spend time and code anything on my personal site i’d do that or just put a more bloated plugin that does that and everything else under the sun.
    I like how minimal and seemingly very capable this plugin is; and yes I realize the irony in me saying that and yet asking for the flush function to run on save post. ??

    Plugin Author Taylor Lovett

    (@tlovett1)

    Haha totally understand your point. Would love to hear what others think. Perhaps there is a way to add cache invalidation that doesn’t tarnish the simplicity of the plugin.

    I would vote to keep it simple and not include any automatic cache invalidation. Every site might have different needs for invalidating the cache and I wouldn’t want the plugin making hidden assumptions.

    I like that there’s a way to flush cache programmatically though. If any complexity were to be added regarding this, I’d prefer to have it all optional and allow the developer to control it in detail. Similar to comet cache pro’s API: https://cometcache.com/kb-article/clearing-the-cache-dynamically/

    Thread Starter Chuck Reynolds

    (@ryno267)

    hey 1.3 added this? ?? HIFIVE

    1.3
    - Purge single view cache for all post types when they are updated/deleted
    - Admin bar button for purging the cache

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘automagically purge cache on new post?’ is closed to new replies.