VarunAgw Posted January 11, 2021 Posted January 11, 2021 (edited) Here is my problem. sitemap generator task for IPS execute this function. ips/system/Sitemap/Sitemap.php:buildNextSitemap() This function has this statement $extension->getFilenames(). which points to applications\cms\extensions\core\Sitemap\Databases.php:getFilenames() But the problem is this function (Databases.php:getFilenames()) never executes (I tried adding breakpoint), and IPS instead returns a old cached result of the function. As soon as I turn on dev mode, this function start executing and uncached result returns. How do I clear all the caching or regenerate the cache so that returned output of the function is latest. IPS version: v4.5.4.2 Caching method: Filesystem only (I already deleted datastore directory as well as rebooting the system, and also clearing cache in support page several times) Edited January 11, 2021 by VarunAgw
Solution bfarber Posted January 11, 2021 Solution Posted January 11, 2021 I didn't spot any IN_DEV-specific checks or extra caching that would describe the behavior you are seeing. You will probably need to debug up the chain to see where the caching you are mentioning comes from.
Recommended Posts