How to do Empty Cache and Hard Reload from js in Angular?

Published

When I publish updates of my application I wish to be sure that all files .js, .png and so on will be downloaded with status 200, not 304.

I tried to use this method:

window.location.reload(true);

But after it one can see that some files are still downloaded with 304 status.

How to do Empty Cache and Hard Reload from js in Angular to force all files be downloaded with 304 status?

Source: Angular Questions

Published
Categorized as angular, caching, html, javascript, reload Tagged , , , ,

Answers

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq