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.
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