in reply to Best way of storing semi-static data

I'd think a query to get one value wouldn't slow your page down enough to worry about it, but I guess it depends on the circumstances. If you are concerned about it, I guess you could hard code the total in your file, and have a perl script in your scheduler update it once a day (or whenever you deem best). I did that once for a value that took a few minutes to calculate every time.

My home on the web: http://www.techfeed.net/

  • Comment on Re: Best way of storing semi-static data