« Return to Thread: Fault-tolerant Resource Loader Cache?

Fault-tolerant Resource Loader Cache?

by White, Tim :: Rate this Message:

Reply to Author | View in Thread

Hi -
 
 I'm wondering if there are any settings I can apply to the Resource
Loader Cache in velocity, specifically the FileResourceLoader, that
would allow it to be 'fault tolerant'.
 
 By this, I mean if the file system that it's looking for its files in
goes away, gets corrupted, gets very slow, etc.  if it could use the
previously cached version of the resource, rather that loading is as
'not found'.
 
 The idea being that, if you load the resource successfully once, don't
replace it with a missing resource..instead, keep the previously,
successfully loaded copy.
 
 Keep checking to see if a new, working resource can be loaded, but
never load a resource as not found if you've already loaded it
successfully once.
 
  Obviously, this is a setting we'd only want to use in our production
environments.
 
Any thoughts?
 
Thanks,
 
Tim


This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly
prohibited and may be unlawful.  If you have received this communication
in error, please immediately notify the sender by reply e-mail and destroy
all copies of the communication and any attachments.

 « Return to Thread: Fault-tolerant Resource Loader Cache?

LightInTheBox - Buy quality products at wholesale price!