• Resolved nealghoshal

    (@nealghoshal)


    Hi there – thanks for this plugin. Sorry for this stupid question … but with no settings, what if we need to / want to clear the cache – do we just de-activate and re-activate the plugin?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Konstantin Kovshenin

    (@kovshenin)

    Hi there, thanks for checking out Surge!

    The plugin has quite a few built-in hooks on various events which invalidate cache entries, so you don’t need to clear the cache when you publish or update a post for example, or make layout changes in the Customizer, etc.

    However, if you do need to clear the cache, yes the easiest way would be to toggle the plugin off and on. Another option is to delete the wp-content/cache/surge directory.

    If you find yourself doing that often, please let us know why, so we can update our invalidation routines to accommodate that.

    K

    Pardon me for jumping in …

    The plugin has quite a few built-in hooks on various events which invalidate cache entries

    Changing the number of posts per page on home doesn’t seem to be one of those events? I had to delete the cache after changing the option. Really no big deal, just wanted to mention it.

    Plugin Author Konstantin Kovshenin

    (@kovshenin)

    You’re right @pixolin, I’ve added an issue for this on GitHub, should be fixed in the next release. Thanks for reporting!

    https://github.com/kovshenin/surge/issues/11

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

The topic ‘Clearing The Cache’ is closed to new replies.