Verify that the option to clear the cache when closing the browser is active

1

I have an application in Adobe FLEX and since some clients have very bad computers, the automatic cache cleaning is interfering with the performance of the application, I wonder if there is any way to check if this option is marked in the browser. Is there any possibility of being done in javascript or in another language?

My idea is to check if it is checked and if you are sending a message to the client informing them to disable it.

    
asked by anonymous 29.07.2014 / 18:59

1 answer

1

To solve cache problems in files, I usually add a version number of the application with a question at startup as if it were a querystring type:

<script src="meuscript.js?v=131"></script>

This can solve the problem that is happening in your application. You can either by this number to be generated at the time of execution or a random number where it will force that every time that page is updated will force the file to be loaded again.

    
29.07.2014 / 19:10