Hi,
We are using v9.0p_2013-10-17/Pro Deployment (built 2013-10-17) and are experiencing unexpected (and in our case undesired) behavior of cache headers which seem to be added automatically on the http request when retrieving certain images.
More specifically, the following headers seem to be added onto the request:
- Cache-Control:max-age=0
- If-Modified-Since:Mon, 21 Oct 2013 10:43:34 GMT
The leads to the browser performing additional request on the 2nd time the image is loaded to verify if the image needs to be refreshed.
We are however trying to reduce the number of HTTP calls made during page loads, this seems to be invalidating our cache policy controlled by the web server (max-age set to a date far in the future for example). For your reference, we are using fingerprinting of the URL and can therefore use a long expiration period since we are sure that resources will be pulled in when a new version is deployed.
Could you indicate how we can disable the injection of these headers on the client side? I assume this is controlled by SGWT code (we use among others IconButton.setIcon).
Thanks in advance for you guidance.
We are using v9.0p_2013-10-17/Pro Deployment (built 2013-10-17) and are experiencing unexpected (and in our case undesired) behavior of cache headers which seem to be added automatically on the http request when retrieving certain images.
More specifically, the following headers seem to be added onto the request:
- Cache-Control:max-age=0
- If-Modified-Since:Mon, 21 Oct 2013 10:43:34 GMT
The leads to the browser performing additional request on the 2nd time the image is loaded to verify if the image needs to be refreshed.
We are however trying to reduce the number of HTTP calls made during page loads, this seems to be invalidating our cache policy controlled by the web server (max-age set to a date far in the future for example). For your reference, we are using fingerprinting of the URL and can therefore use a long expiration period since we are sure that resources will be pulled in when a new version is deployed.
Could you indicate how we can disable the injection of these headers on the client side? I assume this is controlled by SGWT code (we use among others IconButton.setIcon).
Thanks in advance for you guidance.
Comment