Problem with cache in flash games [closed]

1

I'm monitoring a site in a college project and I realized that the moment I open a certain game, it gives an error, varying the error from game to game, some do not load, some take too long to load, another one gives error when entering the game, as some bugs, but I realized that pressing Ctrl + F5 it stops with errors, but sometimes I have to press Ctrl + F5 several times, and in this way I would like to know if it is possible in html code to change this, causing it to eliminate this error or delete the cache.     

asked by anonymous 29.06.2015 / 14:34

1 answer

1

To disable browser caching, you can combine some meta tags :

<!-- 
   Informa ao navegador que não é pra armazenar nenhum tipo de cache 
   Teoricamente só essa opção já resolveria o problema
   Versão HTTP: 1.1
-->
<meta http-equiv="cache-control" content="no-cache" />
<!-- 
   Informa que o cache é pra expirar no dia 1 de janeiro de 1980  
   Ou seja, o cache já expirou e é pra deletar tudo
-->
<meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
<!-- 
   Basicamente o mesmo que http-equiv:cache-control, exceto que  
   essa meta é para versão HTTP 1.0
-->
<meta http-equiv="pragma" content="no-cache" />

For more details on meta tags , you can read details this link EN .

Original Response EN

Another problem may also be the connection speed, so the browser is not able to download all the files needed to run the application. And this could not be solved with HTML tags, except that compressing the files would help.

    
29.06.2015 / 15:28