Jump to content

PrestaShop webservice leaves stale cache(s)


Recommended Posts

Hello, I've been using the PrestaShop web service with great success for some time now, to synchronise product information frrom an external source.  My problem is that the Smarty cache retains stale information after products have been updated via the web service, requiring a completely different programmatic path in order to invalidate caches.

Is it intentional that a Back Office user can modify a product and whatever relevant FO cached elements are handled, while in contrast updating a product via the web API does not correct stale caches so that customers can be given incorrect prices, quantities, etc.?  Further, why is it that there is no web service interface for addressing stale caches, forcing the developer to use external, third-party or home made solutions?

Thank you very much for any explanations or guidance you can give.


Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...