javascript - Cache Update Dilemma -


we're facing following dilemma.

our application requires file included our user's website this:

<script src="https://example.com/example.js" async></script> 

the problem: ttl *.js files set 1 year (.htaccess). has been changed (for example.js). however, clients loaded myfile.js before not bust file until 1 year now.

usually, add param force update or change filename. however, these solution won't work in our scenario, since we're not in control of source code (and contacting our many users isn't solution, either).

unfortunately, our research on web didn't reveal solutions far.

can think of ways handle issue? or, need accept fact setting ttl @ 1 year big mistake?

any hints appreciated.


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

Laravel mail error `Swift_TransportException in StreamBuffer.php line 269: Connection could not be established with host smtp.gmail.com [ #0]` -

c# SetCompatibleTextRenderingDefault must be called before the first -