[OpenLayers-Users] Re: 'Pragma: no-cache' in OpenLayers WMS getMap request

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.

Jan


On Wed, Nov 23, 2011 at 14:02, Jan Henrik Øverland <
janhenrik.overland at gmail.com> wrote:

> Hi,
>
> 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(
>     <name>,
>     <url>,
>     {
>         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.
>
> Jan
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20111124/72016afb/attachment-0001.html


More information about the Users mailing list