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?
Quote from: "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,
Put it wherever you want, but outside of the dragonfly-framework folder.
Quote
and how to specify the address correctly?
Not sure what you mean.
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.com/dragonfly_twitter - wanted to keep data for longer than twitter.com keeps them, so they're now saved in a cache...)
Quote from: "cormullion"
(I've been drawing graphs using canvas - //http://unbalanced-parentheses.nfshost.com/dragonfly_twitter - wanted to keep data for longer than twitter.com keeps them, so they're now saved in a cache...)
Nifty. :-)
Pretty nice graph Cormullion!
:) The code's a bit straggly though! :)