Thanks Jonathan,
So I checked "Response Cache Headers" on the layer "single layer"
and here is the headers:
*Cache-Control:max-age=7200*
Content-Disposition:inline; filename=mylayer.png
Content-Type:image/png
Date:Sun, 04 May 2014 07:10:18 GMT
ETag:5cb34bee2f4f3c921f89f92d3bdb5e01
geowebcache-cache-result:HIT
geowebcache-crs:EPSG:900913
geowebcache-gridset:EPSG:900913
geowebcache-layer:mylayer
geowebcache-tile-bounds:12523442.712499999,2504688.5425000004,15028131.254999999,5009377.085000001
geowebcache-tile-index:[13, 9, 4]
Last-Modified:Sun, 04 May 2014 07:06:05 GMT
Server:Apache-Coyote/1.1
Transfer-Encoding:chunked
Jonathan Moules-2 wrote
I guess it's working.. right?
Also, I found this post about "Direct integration with GeoServer WMS"
http://docs.geoserver.org/2.2.4/user/webadmin/tilecache/defaults.html#webadmin-tilecaching-defaults
Do you think it will be useful in my case?
Hi Shadin,
If it is a layergroup then all layers within the group need to have
that
enabled and a value set, otherwise there are no headers set.
This layer for example has a cache set for a month:
http://maps.warwickshire.gov.uk/gs/ows?LAYERS=Public_Data_DB%3AOS_BD_COUNTY_WSHIRE&TRANSPARENT=TRUE&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG%3A27700&BBOX=355450,207000,504550,333000&WIDTH=852&HEIGHT=720
If you look at the headers you'll see:
*Cache-Control*max-age=2592000, must-revalidateContent-Disposition
inline;
filename=Public_Data_DB-OS_BD_COUNTY_WSHIRE.pngContent-Length15597
Content-Typeimage/pngDateThu, 01 May 2014 08:09:36 GMT *Expires*Sat, 31
May 2014 08:09:36 GMTServer
Microsoft-IIS/7.5Set-CookieGS_FLOW_CONTROL="GS_CFLOW_-7b4803d0:145b6296c7c:-7540";
Version=1 X-Powered-ByASP.NET
I think I may have had to set something on my web-server too (which is
acting as a reverse proxy between geoserver and the world) but it has been
a while.
Cheers,
Jonathan
On 30 April 2014 20:28, Shadin <
shadin__a@
> wrote:
Hi Jonathan,
Thanks for this tip! yes I thought it would be massive bit didn't know
there
is another option.
So I just simply sit the timeout to 2 hrs and serve the layers using WMS
as
usual? because i did that turning on 'Response Cache Headers' and look at
the HTTP response header on the client I see no difference from the case
when the 'Response Cache Headers' is not on.
How can i tell if it's working?
Thanks a lot!
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Terminate-GeoWebCache-REST-API-Request-tp5137944p5138059.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos. Get
unparalleled scalability from the best Selenium testing platform
available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Geoserver-users mailing list
Geoserver-users@anonymised.com
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
This transmission is intended for the named addressee(s) only and may
contain confidential, sensitive or personal information and should be
handled accordingly. Unless you are the named addressee (or authorised to
receive it for the addressee) you may not copy or use it, or disclose it
to
anyone else. If you have received this transmission in error please notify
the sender immediately. All email traffic sent to or from us, including
without limitation all GCSX traffic, may be subject to recording and/or
monitoring in accordance with relevant legislation.
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos. Get
unparalleled scalability from the best Selenium testing platform
available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Geoserver-users mailing list
Geoserver-users@anonymised.com
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Terminate-GeoWebCache-REST-API-Request-tp5137944p5138446.html
Sent from the GeoServer - User mailing list archive at Nabble.com.