Disable caching in backend
-
Hi,
I’m working on a plugin and this website uses SG Optimizer (on my SG cloud server). I noticed that when I save data to the database or update data in the database (both in the backend), some changes are not visible in the WP backend.
When I disable Siteground Optimizer, it works okay. Also when I click on Empty SG cache in the toolbar, the changes become visible. However, I don’t want the end user to have to do this every time.
So the Optimizer is causing this issue. However, I don’t understand why, because I thought logged in users are not cached, as well as the backend.
Can I disable caching in the backend or use a piece of PHP code to force the cache to empty after some changes are saved?
Thanks!
- The topic ‘Disable caching in backend’ is closed to new replies.