[OpenLayers-Users] Re: 'Pragma: no-cache' in OpenLayers WMS getMap
Jan Henrik Øverland
janhenrik.overland at gmail.com
Thu Nov 24 11:10:26 EST 2011
And I don't have any meta tags like
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
in my HTML.
On Wed, Nov 23, 2011 at 14:02, Jan Henrik Øverland <
janhenrik.overland at gmail.com> wrote:
> I have WMS overlays (source http://iridl.ldeo.columbia.edu) in my GIS
> application (built on ExtJS, Mapfish, OpenLayers). It works, but the
> overlays do not seem to show up any faster after the first load and the
> Chrome inspector confirms that. So I talked to the guys at columbia.eduand they say that they can se 'Pragma: no-cache' in my getMap requests.
> My WMS layers are created like this:
> new OpenLayers.Layer.WMS(
> layers: <layers>,
> transparent: true,
> format: 'image/png'
> isBaseLayer: false,
> buffer: 0,
> ratio: 1,
> singleTile: true
> How can I control the Pragma parameter? It is obviously not provided in
> the base url.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users