browser-cache

What does appending "?v=1" to CSS and Javascript URLs in link and script tags do?

Hi all, I have been looking at a HTML 5 boilerplate template (from http://html5boilerplate.com/) and noticed the use of "?v=1" in URLs when referring to CSS and Javascript files. What does appending "?v=1" to CSS and Javascript URLs in link and script tags do? Not all Javascript URLs have the "?v=1" (example from the sample below: js/...

How to know that app version changed in GWT?

Hi, I have a use case where my GWT application is running on a client browser and I stop my tomcat and update the relevant WAR. What I'd like to happen is that once I load the tomcat every existing client will be reloaded automatically so they will be using the correct version of the application. Currently I'm facing two problems: I do...

SSL handshake problem? (was: Web page hangs, only clearing browser cache helps)

Please see at the end, as I constantly update with latest investigation data. Currently, I need help with server-side WireShark log. I experience strange issues with ASP.NET MVC web application. Few users experience form post timeouts and hangs, so that after clicking submit it just lasts forever and does not advance to next page. The s...

Preload javascript and css components in landing page

Hello, I want to preload a JS file and a CSS file from the landing page to optimize the main site load, after de conversion in the landing. I was looking for information about this and finally tried to get this done using: var xhr = new XMLHttpRequest(); xhr.open('GET', 'jsUrl'); xhr.send(''); xhr = new XMLHttpRequest()...

jQuery html response

Hello, Is it possible to determine if a response returned by $.ajax was served from the browser's cache or was fresh? Thanks. ...

Disable browser cache

I implemented a REST service and i'm using a web page as client. My page has some javascript functions that performs several times the same http get request to REST server and process the replies. My problem is that the browser caches the first reply and not actualy sends the following requests.. Is there some way to force the browser...

IE6 Not caching my images

Hi, I uploaded my web application already in my Production Tomcat Web Server. I am trying to test it already and it works fine on FF/IE7/IE8 but I am having a problem on display on IE6. I notice in the status bar that IE6 seems to be downloading the images every now and then. Even though I did not click anything, it still downloads the...

Is it possible to know if a file is inside the user's browser cache?

I am doing something like this: if an image is cached on user's computer and its timestamp is the same as the one on the server, then display the cached version; otherwise, do NOT load the image from the server. I guess maybe JavaScript can do this, so I tagged this post as javascript. If it is improper, please help me to re-tag it. Ed...