On Wed, May 2, 2012 at 6:22 AM, Andreas Hocevar <[email protected]> wrote:
> I'm not really familiar with all settings you can make in GWC. But for
> the GeoServer integrated GWC, by default, only ETag headers are used:
>
> Cache-Control:no-cache
> Content-Disposition:attachment; filename=medford-citylimits.png
> Content-Length:662
> Content-Type:image/png
> Date:Wed, 02 May 2012 09:20:05 GMT
> Etag:f22aa7147e100a3420768b2d05925dd
> Geowebcache-Tile-Index:[1301, 5159, 13]
> Server:Jetty(6.1.8)
>
> And you're right, the use case for this is layers with data that
> changes frequently.

Right. That happens only with "direct WMS integration". I.e. hitting
gwc through the /geoserver/wms or /geoserver/ows?service=WMS end
points.
Reason is the feature was added to support GeoNode's dynamic changes
of styles and feature edition. That said, it would be a good thing to
be able of configuring that. It's just that there are so, so many
things that can or could be configured, that's hard to draw a line.
But in any case, feel free to raise a jira issue about it.

Cheers,
Gabriel
>
> Andreas.
>
> On Wed, May 2, 2012 at 10:58 AM, Andrea Aime
> <[email protected]> wrote:
>> On Wed, May 2, 2012 at 10:44 AM, Andreas Hocevar <[email protected]>
>> wrote:
>>>
>>> GWC sends ETag headers. Looks like these get stripped by your IIS.
>>
>>
>> Does it do that by default? I thought that had to be configured manually.
>>
>> Moreover... ETag requires another request to check if the tag changed,
>> which is great if the tiles are used for editing for example, but for more
>> long lived caches it might be better to just tell the browser to keep
>> the tiles for a day or so, isnt' it?
>>
>> Cheers
>> Andrea
>>
>>
>> --
>> -------------------------------------------------------
>> Ing. Andrea Aime
>> GeoSolutions S.A.S.
>> Tech lead
>>
>> Via Poggio alle Viti 1187
>> 55054  Massarosa (LU)
>> Italy
>>
>> phone: +39 0584 962313
>> fax:      +39 0584 962313
>> mob:    +39 339 8844549
>>
>> http://www.geo-solutions.it
>> http://geo-solutions.blogspot.com/
>> http://www.youtube.com/user/GeoSolutionsIT
>> http://www.linkedin.com/in/andreaaime
>> http://twitter.com/geowolf
>>
>> -------------------------------------------------------
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> Geoserver-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>
>
>
> --
> Andreas Hocevar
> OpenGeo - http://opengeo.org/
> Expert service straight from the developers.
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users



-- 
Gabriel Roldan
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to