Questions tagged as 'cache'

4
answers

Clear cache of browsers with javascript

Is it possible to clear the cache of Firefox and Chrome browsers via Javascript? With Internet Explorer I can do it, but not the ones mentioned above. Dude, it did not work, I think the problem occurs because unless the user logged in remembe...
asked by 10.06.2014 / 14:27
3
answers

Save or not browser cache?

Hello, I tested a site I'm doing on PageSpeed Insights from Google, and it suggests "Leverage Browser Cache". I wanted to know if it is really necessary and advantageous to store cached files, or if I only put this tag? <meta http-equiv=...
asked by 24.10.2015 / 20:09
1
answer

HTTP Cache Headers in Servlets

I would like to know if there are libraries or solutions to handle requests containing headers such as Last-Modified , If-Modified-Since , If-Range If-None-Match , etc. and produce replies with Cache-Control ,...
asked by 24.12.2013 / 19:34
2
answers

Are libraries downloaded multiple times?

I have an application that uses 3 libraries (Bootstrap, jQuery, jQueryUI) on 10 different pages. Do browsers cache libraries?     
asked by 06.01.2015 / 17:57
2
answers

How to force loading of JS and CSS files with each new published version?

Every time I publish a new version of my web application (a multi-company system) that has changes in JS and CSS files, some clients complain about errors and I find that it is the cache of the browser and I have to instruct the client to refr...
asked by 03.09.2015 / 20:57
1
answer

Does PHP work with cache?

I'm noticing that my application is experiencing some error, or else my browser is always caching, even though I'm performing the cleanup. I have a .php file and contain the loadEvent function, which is responsible for doing sel...
asked by 21.11.2016 / 11:30
1
answer

Comments with the license in CSS or JavaScript files should be maintained or not?

This question comes up when I finalize a bundle mechanism for CSS and JS files with consequent cache . In many projects we all use mechanisms that allow us to reduce the size of CSS and JS files in our projects, however a legal issue arises....
asked by 12.08.2015 / 16:49
1
answer

How to prevent caching in Ajax requests in IE 6?

I have the following code to update a DIV on a page: var req; // FUNÇÃO BUSCA ROMANEIOS PARA EXIBIR NA TELA DE MENU. function buscarRomaneio() { // Verificando Browser if(window.XMLHttpRequest) { req = new XMLHttpRequest(); } else if(wind...
asked by 23.08.2016 / 21:43
1
answer

Difference between Absolute Expiration and Sliding Expiration

I am doing a POC with generic cache in C # and I followed a template that shows Absolute Expiration and Sliding Expiration . Could anyone explain these concepts better? //This is for Absolute Expiration string strCache =...
asked by 17.07.2017 / 19:48
1
answer

What is Web context caching?

It is often said, "Oh, this gets stored in cache ..." Where does the browser store your cache , is there a limit size and has some relation to Local Storage     
asked by 02.03.2017 / 15:33