Looks like your request routing does not preserve the ETag and cache- control headers from GWC. You should fix that on the server side.
Andreas. On Apr 25, 2012 9:45 PM, "Filipe" <[email protected]> wrote: > Hey everyone. Im having a weird behaviour when using OL. my current setup > is OL 2.11 requesting a WMS tiled layer from a different server then the > one running the website. My WMS server is in another server, and im using > Application request Routing on iis to get the tiles. the tiles do get > rendered in OL and show in map. my problem is: on IE the tiles get stored > in browser cache and subsequent requests are obtained from browser cache. > This is the behaviour i want. On FF and Chrome, none of the requests are > getting into the browser cache, meaning they all go the the server (and > then show on map correctly). This behaviour i do not want. Been searching > and couldn't find out why this is happening. > http://lists.osgeo.org/pipermail/openlayers-dev/2010-March/005708.htmlThe > above link talk about requests in the response. I use fiddler to > Analise them and its all ok (i think) HTTP/1.1 200 OK Content-Length: 2923 > Content-Type: image/png Server: Microsoft-IIS/7.0 geowebcache-tile-index: > [32, 22, 5] X-Powered-By: ARR/2.5 X-Powered-By: ASP.NET Date: Thu, 26 Apr > 2012 01:07:31 GMT also, i dont have any "cache-control" on my pages. Any > thoughts on this? Regards > ------------------------------ > View this message in context: WMS requests not getting into FF and Chrome > cache<http://osgeo-org.1560.n6.nabble.com/WMS-requests-not-getting-into-FF-and-Chrome-cache-tp4918603p4918603.html> > Sent from the OpenLayers Users mailing list > archive<http://osgeo-org.1560.n6.nabble.com/OpenLayers-Users-f3910695.html>at > Nabble.com. > > _______________________________________________ > Users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/openlayers-users > >
_______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
