Developing and testing features or extensions for Microsoft Edge
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello All,
I have an issue in the Microsoft edge browser. we have a website. which is used by many users. when I try to access a website. The website is not showing the updated data in edge browser. But it shows the updated data in the other browsers.
It is a critical issue as the users may get affected because of using the older data. So, we have identified the issue is related to caching issue in the edge browser.
There are multiple users so, we cannot suggest the users to clear the cache. Please suggest some other solution.
Developing and testing features or extensions for Microsoft Edge
Hi ,
Thank you for reaching out on Microsoft Q&A.
The issue you’re describing often occurs when Edge caches dynamic content aggressively, especially if HTTP response headers don’t specify cache-control policies. Clearing cache manually for all users can be impractical, so a more permanent solution is to configure anti-caching headers on your web server for the affected files (e.g., .php, .html, .json, or API responses).
Recommended fix Add the following headers for dynamic files on your server:
Cache-Control: no-cache, no-store, must-revalidate
Pragma: no-cache
Expires: 0
This ensures browsers fetch fresh data for dynamic content while allowing caching for static assets like .css, .js, and images for performance.
Hope this helps! If my answer was helpful, kindly follow the instructions https://learn.microsoft.com/en-us/answers/support/accept-answer so others with the same problem can benefit.