2012/10/19 <schmidt.sebasti...@swm.de>

>  Hello everyone,****
>
> ** **
>
> I’m looking for a way to configure cache-control headers sent out by
> geoserver for group layers:****
>
> ** **
>
> What I found out:****
>
> If I set the “Answer with Cache header” for all layers in that group
> layer, geoserver will respond to group Layer request with the corresponding
> Headers as well:****
>
> ** **
>
> Cache-Control:max-age=3600, must-revalidate****
>
> Expires:Fr, 19 Okt 2012 07:52:11 GMT****
>
> ** **
>
> What I’d like to know:****
>
> Is there a way to set the checkbox “Awnser with cache headers” and the
> time in Seconds (max-Age) from the Rest Config via XML or JSON?
>

Layer groups service wide "do not exist", in that the are split into their
composing layers the moment
the request is parsed and any notion of the group is lost.

So the request is the same as making a request with the list of layers.
When multiple layers are requested, the http header of the response is
setup to be the lowest
of all the layers requested, so for layer groups it's the lowest cache time
of all the layers making it up.

Cheers
Andrea


-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to