How I disable cache to JS and CSS?

333 Views Asked by At

Can I disable cache on pages inside Azure AD B2C?

Sometimes I have to force reload and disable cache via Inspect (on Edge) because my scripts don't update.

1

There are 1 best solutions below

0
On

(Moving from comments to answer)

We recommend you to clear your browser cache. If you are using custom UI you can add the data-preload="true" attribute in your HTML tags to control the load order for CSS and JavaScript. Please check the guidelines for more information.