On Wed, Aug 5, 2015, at 03:33 PM, Tom S wrote:

> The immediate question I have is if there is some plan to support layer 
> specific selection of the caching store (none, Disk, Memory, ...)?  If 
> not, will the memory store 'Persistence enabled' mode only be global, or 
> can it be selected on a per-layer basis (there are no setting for this 
> on individual layers now)?

Per layer storage configuration is a new feature in GWC 1.8 as is the
memory storage.  Unfortunately, these two features were added completely
independently so you can specify whether a layer should use local file
storage or the new S3 store, but not whether it should use the memory
store or not.  

Both configurable storage and memory storage are built as wrappers
around other stores.  The memory store wraps one other stores and
provides in memory caching on top of it, while the composite store wraps
several stores, and delegates to the appropriate store for the layer.

I think it should be possible to wrap the composite store inside the
memory store.  So everything will use in memory caching, and the more
persistent storage underneath will be configurable.  This is something
that still needs testing though.  Ideally we would have this all worked
out before the beta on the 18th but I don't know that anyone has time to
work on it.  I believe both features were added as development funded by
some specific client.  Each client is probably happy with their feature
as is and would require some cajoling to fund that development, and the
developers involved are working on other things now as well.  Otherwise
it's a matter of finding a developer who can justify working on this.

If you have some Java development capability you can spare, using that
to implement this yourself would very much be the best way to ensure
that per layer configuration of in memory caching is working.  The
geowebcache-devel mailing list would be the best place to ask about
this.

-- 
  Kevin Michael Smith
  [email protected]

------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to