2012/10/10 Stefano Iacovella <stefano.iacove...@gmail.com>

> 2012/10/10 Andrea Aime <andrea.a...@geo-solutions.it>
>
>> On Wed, Oct 10, 2012 at 12:15 PM, Stefano Iacovella <
>> stefano.iacove...@gmail.com> wrote:
>>
>>>
>>> When you disable the extra styles however you should not be able anymore
>>>> to ask GWC for styles other
>>>> than the default.
>>>>
>>> I was expecting that, but it seems that also disabling the "Create a
>>> separate cache for each style" option my requests with a different style
>>> than the default are cached.
>>> I didn't try it for time or elevation parameters but I guess it works
>>> the same way.
>>>
>>
>> Hmm... even for new tiles? In such case this would be a new (unknown) bug.
>>  I reported some time ago a problem where the removal of a tileset
>> (layer, but also a parameter in a layer)
>> does not result in the deletion of the tiles associated from disk:
>> https://github.com/GeoWebCache/geowebcache/issues/134
>>
>>
>
I checked it again and it seems to me a bug.
I started with the Option "Create a separate cache for each style" checked,
both in the Caching Defaults and in the layer's configuration.
>From the web interface I emptied the cache for the layer, on the filesystem
the folder was now empty

stefano@ubuntu1204x64vm:/opt/gwc/NaturalEarth_ne_50m_populated_places$ ll
total 8
drwxr-xr-x 2 root root 4096 Oct 10 22:12 ./
drwxr-xr-x 9 root root 4096 Oct  6 18:21 ../

Then sent requests for two different styles on the layers, on the file
system I now saw folders for both styles cached

stefano@ubuntu1204x64vm:/opt/gwc/NaturalEarth_ne_50m_populated_places$ ll
total 32
drwxr-xr-x 8 root root 4096 Oct 10 22:17 ./
drwxr-xr-x 9 root root 4096 Oct  6 18:21 ../
drwxr-xr-x 4 root root 4096 Oct 10 22:16 EPSG_4326_01/
drwxr-xr-x 4 root root 4096 Oct 10 22:17 EPSG_4326_01_1/
drwxr-xr-x 4 root root 4096 Oct 10 22:17 EPSG_4326_02/
drwxr-xr-x 4 root root 4096 Oct 10 22:17 EPSG_4326_02_1/

I went back on web interface, again emptied the cache for the layer, then
went to Caching Defaults page and set the option unchecked. Then, on the
layer tile caching config page, unchecked the option.
The filesystem was now empty

stefano@ubuntu1204x64vm:/opt/gwc/NaturalEarth_ne_50m_populated_places$ ll
total 8
drwxr-xr-x 2 root root 4096 Oct 10 22:22 ./
drwxr-xr-x 9 root root 4096 Oct  6 18:21 ../

Sent again the same requests and checked the file system

stefano@ubuntu1204x64vm:/opt/gwc/NaturalEarth_ne_50m_populated_places$ ll
total 32
drwxr-xr-x 8 root root 4096 Oct 10 22:23 ./
drwxr-xr-x 9 root root 4096 Oct  6 18:21 ../
drwxr-xr-x 4 root root 4096 Oct 10 22:23 EPSG_4326_01/
drwxr-xr-x 4 root root 4096 Oct 10 22:23 EPSG_4326_01_1/
drwxr-xr-x 4 root root 4096 Oct 10 22:23 EPSG_4326_02/
drwxr-xr-x 4 root root 4096 Oct 10 22:23 EPSG_4326_02_1/
drwxr-xr-x 6 root root 4096 Oct 10 22:23 EPSG_4326_03/
drwxr-xr-x 6 root root 4096 Oct 10 22:23 EPSG_4326_03_1/

I don't think it is some-way linked to my system's configuration, anyway
I'm running GeoServer 2.2 deployed on Apache Tomcat  7.0.27 with Oracle JDK
1.7.0_04-b20, OS is Ubuntu Server 12.04 64-bit
If  you think it is useful I can fill a ticket for it, Have I to register
myself on Jira?

Regards

Stefano


---------------------------------------------------
41.95581N 12.52854E


http://www.linkedin.com/in/stefanoiacovella

http://twitter.com/#!/Iacovellas
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to