[osg-users] osgDB::FileCache for network sources

Jeremy jswigart at gmail.com
Fri Dec 11 04:59:50 PST 2015

That's fine. I'll do a custom subclass. I was just thinking given the
simplicity of the need(make a cache copy of everything), that it would be
reasonable to have a 'cache everything' option on the built in file cache.
I'm not looking for some complex mechanism for determining more selectively
what should and shouldn't be cached, just something to ensure that I have a
file cache hierarchy with all the referenced content all together within
the same structure. That meets the needs of archival and deployment of a
very focused set of data a good deal cleaner than only remote files cached,
but perhaps better off implemented as a custom subclass.


On Fri, Dec 11, 2015 at 6:39 AM Robert Osfield <robert.osfield at gmail.com>

> On 11 December 2015 at 11:33, Jeremy <jswigart at gmail.com> wrote:
>> That's fine, I will probably do that, but is it not reasonable for the
>> default to be able to handle network paths and construct working cache
>> paths as well?
> How is one supposed to determine which "network" paths are appropriate to
> be cached locally on the machine?
> This type of issue will depend totally on the configuration of your
> network, your data and how your file system mounts networked files.  It's
> *very* domain specific.
> This is very different from remotely mounted files pulled in over http
> which is what the FileCache was written for.
> Robert.
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20151211/0cf9fe9b/attachment-0003.htm>

More information about the osg-users mailing list