Jim Fulton writes:
In theory, you could use ZCatalog to catalog objects in the file system or in a RDBMS, providing that you can provide paths for them. I don't think anyone's done this yet. There are bound to be bumps from wjoever does it first. :) I use ZCatalog to catalog objects in the file system included into the Zope world via LocalFS. Dieter
How do you do to cache those objects, since LocalFS referenced objects are not cached by Zope? Regards, Rogerio Atem ------------------------------------------- E-mail enviado pelo servidor do CEFETCampos
How do you do to cache those objects, since LocalFS referenced objects are not cached by Zope?
They aren't cached. I experimented with adding a cache, but ran into some problems and gave up. It would probably be worth giving it another shot, though. --jfarr "Perl is worse than Python because people wanted it worse." Larry Wall, 14 Oct 1998
On Thu, 29 Jun 2000 10:44:39 -0700, "Jonothan Farr" <jfarr@real.com> wrote:
How do you do to cache those objects, since LocalFS referenced objects are not cached by Zope?
They aren't cached. I experimented with adding a cache, but ran into some problems and gave up. It would probably be worth giving it another shot, though.
LocalFS happily uses the If-Modified-Since header, so an http cache (I use Squid, http://www.squid-cache.org/) can cache LocalFS content outside of Zope. This assumes you are using LocalFS to serve whole files over http, rather than processing those files inside Zope. Toby Dickenson tdickenson@geminidataloggers.com
participants (3)
-
Jonothan Farr -
Rogerio Atem de Carvalho -
Toby Dickenson