Check if the option to clear the cache is active when closing the browser

Asked

Viewed 165 times

1

I have an application in Adobe FLEX and as some client have very bad computers the automatic cache cleaning is hindering the performance of the application, I wonder if there is any way to verify that this option is checked in the browser. Is there any possibility of it 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 stating that it disables the option.

1 answer

1

To solve cache problems in files, I usually add an application version number with a query at the beginning 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 put this number to be generated at the time of execution or it is a random number where you will force every time that page is updated to force the file to be loaded again.

  • Your reply considered that it is an app in Flex ?

  • Not only did I show you what solution I use to handle cache issues. He can try to follow the same concept to solve the problem. Or check in another question that you have some javascript codes that can help you: [http://stackoverflow.com/questions/1922910/force-browser-to-clear-cache]

  • http://stackoverflow.com/a/13107058/3629273

  • i think your answer does not apply to this context

  • Hello Rodolfo, for my case does not apply as I need to know if this active option in the browser to request that the user disables, but still thanks for the help.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.