[Opensymphony-oscache] OSCache Directories

madhusv1 <[email protected]> Mon, 18 Apr 2005 16:49:13 CDT
Newsgroups gmane.comp.java.open-symphony.os-cache
Message-ID <10145580.1113860983791.JavaMail.os-j2ee@opensymphony01.contegix.com>
Is there a way to create subdirectories under the main cache directory created by OSCache. 
Example -
I have 5 Categories (C1 - C5) , and 10 Products (P1C1 - P10C1, P1C2 - P10C2 and so on) under each category.  
cache.path=/test1/testproduct
Can I have my disk cache setup as 
testproduct  - Root Directory
     C1 - Sub Directrory
                 P1C1.cache      ------  Cache Files
                 P2C1.cache
                 P3C1.cache
                 .... 
     C2

               P1C2.cache
               P2C2.cache
              P3C2.cache 

Is this structure do able? Currently all my files show under one folder.
Thanks

---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=1667&messageID=5106#5106