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
until/unless they expire.
If you are doing mass updates to the data on a fixed schedule, you could
use a Truncate (Clear tiles from the cache) or Reseed (Load fresh tiles
into the cache) task, or maybe both depending on zoom level.
On 30 April 2014 04:35, Jonathan Moules
<[email protected]>wrote:
> 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 maps)
>
> You may be better served simply setting the Response Cache Headers timeout
> to 2hrs (7200 seconds) on whatever layers you require it for.
>
> http://docs.geoserver.org/stable/en/user/webadmin/data/layers.html
>
> Cheers,
> Jonathan
>
>
> On 30 April 2014 12:09, Shadin <[email protected]> wrote:
>
>> 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 "Tile Caching" has been
>> increased
>> to 50 MB. i also replaced wms with gwc/service/wms in layer requesting in
>> OpenLayers.
>>
>> My data is updating every 2 hours. So i thought i have to terminate the
>> request and create a new one every 2 hours. "scheduled task"
>>
>> I tried this kill request:
>>
>> > curl -v -u geowebcache:secured -d "kill_all=all"
>> > "http://localhost:8080/geowebcache/rest/seed/workspace:layer.xml"
>>
>> as in the last section here
>> http://geowebcache.org/docs/1.5.1/rest/seed.html
>>
>> but the "Disk Used" size hasn't changed! and the cached data still the old
>> data. here is the response:
>>
>>
>> * About to connect() to 127.0.0.1 port 8080 (#0)
>> * Trying 127.0.0.1... connected
>> * Server auth using Basic with user 'admin'
>> > POST /geoserver/gwc/rest/seed/workspace:layer.xml HTTP/1.1
>> > Authorization: Basic YWRtaW46Z2Vvc2VydmVy
>> > User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0
>> OpenSSL/1.0.1
>> > zlib/1.2.3.4 libidn/1.23 librtmp/2.3
>> > Host: 127.0.0.1:8080
>> > Accept: */*
>> > Content-Length: 12
>> > Content-Type: application/x-www-form-urlencoded
>> >
>> * upload completely sent off: 12out of 12 bytes
>> < HTTP/1.1 500 Internal Server Error
>> < Server: Apache-Coyote/1.1
>> < Transfer-Encoding: chunked
>> < Date: Wed, 30 Apr 2014 10:31:28 GMT
>> < Connection: close
>> <
>> * Closing connection #0
>> : Premature end of file.
>>
>>
>>
>> --
>> View this message in context:
>> http://osgeo-org.1560.x6.nabble.com/Terminate-GeoWebCache-REST-API-Request-tp5137944.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
>> [email protected]
>> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
Kevin Smith
Junior Software Engineer | Boundless
[email protected]
+1-778-785-7459
@boundlessgeo <https://twitter.com/boundlessgeo>
------------------------------------------------------------------------------
"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
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users