Re: [Geoserver-users] How to delete tile layer cache if layer data is updated?

2016-04-21 Thread Chris Buckmaster
Ok thanks Andrea Chris From: andrea.a...@gmail.com [mailto:andrea.a...@gmail.com] On Behalf Of Andrea Aime Sent: 21 April 2016 08:34 To: Chris Buckmaster Cc: geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] How to delete tile layer cache if layer data is updated? On Thu,

Re: [Geoserver-users] How to delete tile layer cache if layer data is updated?

2016-04-21 Thread Andrea Aime
On Thu, Apr 21, 2016 at 9:29 AM, Chris Buckmaster < chris.buckmas...@runnymede.gov.uk> wrote: > Thanks for the reply Andrea, someone also mentioned that because the cache > is stored as flat files, I could just write a scheduled task to delete > these files on the server? (this wouldn’t obviously

Re: [Geoserver-users] How to delete tile layer cache if layer data is updated?

2016-04-21 Thread Chris Buckmaster
Thanks for the reply Andrea, someone also mentioned that because the cache is stored as flat files, I could just write a scheduled task to delete these files on the server? (this wouldn’t obviously work for the scenario I asked, but I think I would be fine with just deleting the cache each

Re: [Geoserver-users] How to delete tile layer cache if layer data is updated?

2016-04-20 Thread Andrea Aime
On Tue, Apr 19, 2016 at 10:02 AM, Chris Buckmaster < chris.buckmas...@runnymede.gov.uk> wrote: > Hi > > > > I am just wondering if there is a way to programmatically delete a tile > layer’s cache if the data from the layer is updated? > GWC exposes a REST api with a truncate call that you can

[Geoserver-users] How to delete tile layer cache if layer data is updated?

2016-04-19 Thread Chris Buckmaster
Hi I am just wondering if there is a way to programmatically delete a tile layer's cache if the data from the layer is updated? Currently looking at trying to create a script that will just delete the cache from a scheduled task so I can make sure that the data is as current as possible