Re: [Geoserver-users] Terminate GeoWebCache REST API Request

2014-05-06 Thread Jonathan Moules
Hi, It doesn't look like the "expires" header is being set. Is this a direct request or is it going through a proxy? If the later, maybe that's altering your headers and removing it? I remember it require a little fiddling around to get it working for me. Regards, Jonathan On 4 May 2014 10:32,

Re: [Geoserver-users] Terminate GeoWebCache REST API Request

2014-05-04 Thread Shadin
okay what happened is that the layer is cached like forever. id doesn't update each 2 hours. any idea? -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Terminate-GeoWebCache-REST-API-Request-tp5137944p5138464.html Sent from the GeoServer - User mailing list archive at Nabble

Re: [Geoserver-users] Terminate GeoWebCache REST API Request

2014-05-04 Thread Shadin
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-cac

Re: [Geoserver-users] Terminate GeoWebCache REST API Request

2014-05-01 Thread Jonathan Moules
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=TRU

Re: [Geoserver-users] Terminate GeoWebCache REST API Request

2014-04-30 Thread Shadin
Hi Kevin, Thank you I get it now. tho I'm considering using 'Response Cache Headers' as in Jonathan's suggestion. Have you used it before? -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Terminate-GeoWebCache-REST-API-Request-tp5137944p5138060.html Sent from the GeoSer

Re: [Geoserver-users] Terminate GeoWebCache REST API Request

2014-04-30 Thread Shadin
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

Re: [Geoserver-users] Terminate GeoWebCache REST API Request

2014-04-30 Thread Kevin Smith
Hi Shadin, The task is the process of creating tiles. It runs over the tiles you specify, putting them into the cache, and then stops when it's covered them all. Killing it will have no effect on tiles it has put into the cache. They will still be disk, and will still be served up when requested

Re: [Geoserver-users] Terminate GeoWebCache REST API Request

2014-04-30 Thread Jonathan Moules
Hi Shadin, Are you sure you want to be using tiles when the data updates every two hours? That seems like massive overkill unless you're running a service with absolutely loads of users and usage (and even then...). Tiles are best used for baselayers that change rarely (i.e. OpenStreetMap, google m

[Geoserver-users] Terminate GeoWebCache REST API Request

2014-04-30 Thread Shadin
In my web application, i wanted a service to cache updated data using geowebche. so i worked on seeding tiles automatically with GeoWebCache as in this post: http://gis.stackexchange.com/questions/87728/custom-time-interval-for-geowebcache/87804#87804 I see that the "Disk Used" of the layer in "Ti