I noticed an issue where the api responds with outdated entity data.
This happens when cached response is returned after updating a product.
Is there a way to clear cache after updating on all workers?
I noticed an issue where the api responds with outdated entity data.
This happens when cached response is returned after updating a product.
Is there a way to clear cache after updating on all workers?
Hi Rahul,
the command “php console.php clear cache” will clear the application cache.
Cache is disabled for all api responses, it is quite strange that you have this problem, maybe your webserver is changing the cache header, so please check your apache/nginx configurations.
Normally you should have this in the response headers:
cache-control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0