On Wed, May 2, 2012 at 4:38 PM, Gabriel Roldan <[email protected]> wrote:

> 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.
>

Thinking out loud, the integrated GWC should try to honor the http caching
settings that we already have for WMS requests, and use eTag for the
layers that do not have those settings on (that is, layers that are meant
to be edited).

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

Reply via email to