Cache files

A web framework in newLISP
Post Reply
cormullion
Posts: 2037
Joined: Tue Nov 29, 2005 8:28 pm
Location: latiitude 50N longitude 3W
Contact:

Cache files

Post by cormullion »

Where's a good place to put cache files? I want to cache some data from run to run, wonder where the best place to put it would be, and how to specify the address correctly?

itistoday
Posts: 413
Joined: Sun Dec 02, 2007 5:10 pm
Location: I'm sitting right next to you. :)
Contact:

Re: Cache files

Post by itistoday »

cormullion wrote:Where's a good place to put cache files? I want to cache some data from run to run, wonder where the best place to put it would be,
Put it wherever you want, but outside of the dragonfly-framework folder.
and how to specify the address correctly?
Not sure what you mean.
Get your Objective newLISP groove on.

cormullion
Posts: 2037
Joined: Tue Nov 29, 2005 8:28 pm
Location: latiitude 50N longitude 3W
Contact:

Re: Cache files

Post by cormullion »

OK, thanks. It's now in databases/, seems like a good place.

I was just asking in case there was some recommended way of specifying paths, such as (string DOCUMENT_ROOT "blah"), but don't worry, it works as I expected.

(I've been drawing graphs using canvas - http://unbalanced-parentheses.nfshost.c ... ly_twitter - wanted to keep data for longer than twitter.com keeps them, so they're now saved in a cache...)

itistoday
Posts: 413
Joined: Sun Dec 02, 2007 5:10 pm
Location: I'm sitting right next to you. :)
Contact:

Re: Cache files

Post by itistoday »

cormullion wrote:(I've been drawing graphs using canvas - http://unbalanced-parentheses.nfshost.c ... ly_twitter - wanted to keep data for longer than twitter.com keeps them, so they're now saved in a cache...)
Nifty. :-)
Get your Objective newLISP groove on.

hilti
Posts: 140
Joined: Sun Apr 19, 2009 10:09 pm
Location: Hannover, Germany
Contact:

Re: Cache files

Post by hilti »

Pretty nice graph Cormullion!
--()o Dragonfly web framework for newLISP
http://dragonfly.apptruck.de

cormullion
Posts: 2037
Joined: Tue Nov 29, 2005 8:28 pm
Location: latiitude 50N longitude 3W
Contact:

Re: Cache files

Post by cormullion »

:) The code's a bit straggly though! :)

Post Reply