In the Fixing slow WordPress sites recipe, we enabled caching to improve performance and decrease the loading time. However, we may face the drawbacks of caching when we want to make certain changes to the site content or files. In such a case, the site will load cached content without us being aware of it. This is a major issue whereby time is wasted, assuming that the issue is with the modified content or file.
Caching is mainly implemented on three levels. We can use plugins to cache the content on disk or on a database. This is the most commonly used caching technique. However, we can also enable caching at the browser and server level. So, it's important to identify all the caching methods used on the site and get them cleared after applying changes.
In this recipe, we are going to fix the issue of updates not being reflected on the...