Clear Cache

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
2 years ago
Hi,

I am working on Nop 4.20.

I am running a script in sql to update my database with new products and attributes every night. The problem is that due to caching the changed are not coming up in the website until I clear the entire cache from clear cache button in admin panel.

Is there a way to clear just the product and attribute cache, I tried clearing by name but did not work. I can only flush entire cache but that makes all site slow and is not practical to do it everyday.

Thank you
2 years ago
It will need customization.  This may interest you
https://www.nopcommerce.com/en/boards/topic/90201/product-caching-issues-affecting-performance-420
2 years ago
Thank you for your response, I cleared cache using the same clear functions used in the attribute delete service. Created a schedule task to run after data update and it works.

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