Cornerstone and Caching

If you use X Theme and Cornerstone and want to speed things up by using WP Super Cache, there is a little problem I’ve just encountered - as soon as I install WP Super Cache, if I try to edit any page with Cornerstone I’m redirected to the login screen.

When you need to make an edit on your site - you need to Deactivate the WP Super Cache plugin and all is well again.

I’m using X on an AWS T2.Micro Instance so caching is pretty important.

Has anyone found a better caching solution for X using Cornerstone?

1 Like

Hi there,

In general when the site is in development, it’s always recommend to disable caching while building the site.

Most caching plugins allow you to exclude files from being cached including W3 Total Cache, the best way if you’d like the cache activated, would be to globally exclude every X and Cornerstone file/folder. Including the minficiation function of caching plugins, as X already serves minified files and re-minifiying these files will cause multiple errors/issues.

Thanks!

1 Like

Thanks Jack - Reading between the lines - would you recommend to NOT use a caching plugin with the X Theme?

Hi there @sdi1000,

Ultimately it depends on the server itself, I usually prefer to use server side caching, than caching plugins. Caching plugins are easy to configure incorrectly and cause numerous issues with plugins and themes.

However I do use WP Rocket on a few of my own X powered sites and everything works great. All I do is exclude X assets from being cached or modified.

Thanks!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.