Chris,
there are a few things you can do using the geowebcache.xml:
in the
<wmsLayer> tag
usual tags such as name/title/mimeFormats/gridsets/
<wmsUrl> <string>http://my_geowebcache_server/</string> </wmsUrl>
You cannot leave the wmsURL tag out BUT ..
O.k. that is a bit harsh, I admit
but also:
<expireCache>0</expireCache>
or scale level-specific <expireCacheList>-2</expireCacheList>
and
<cacheBypassAllowed>false</cacheBypassAllowed>
</wmsLayer>
In geoserver I don't know what happens if you set the cache to 0.
But you could also (again a rather radical means) disable the database.
In the web.xml:
<context-param>
<param-name>GWC_METASTORE_DISABLED</param-name>
<param-value>TRUE</param-value>
</context-param>
You might do the seceond one as well as your cache will stay the same size.
<context-param>
<param-name>GWC_DISKQUOTA_DISABLED</param-name>
<param-value>TRUE</param-value>
</context-param>
No database hence no clue when to expire. They work in geoserver too as you
get the message:
"Disk Quota has been disabled through the GWC_DISKQUOTA_DISABLED=true
environment variable/servlet context parameter/JVM argument, so this
configuration page is not operational."
Again this is also a rather radical measure.
Cheers
Christian
-----
____________________________
Dr Christian Maul
Project Manager
Information Services Branch
Department of Sustainability and Environment
Level13, Marland House, 570 Bourke Street
Melbourne 3000
PO Box 500, East Melbourne Vic 3002
Telephone: +61-3-8636 2325
Telefax: +61-3-8636 2813
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Avoiding-invalidation-of-GeoWebCache-tiles-tp5082109p5082115.html
Sent from the GeoServer - User mailing list archive at Nabble.com.