What is the best way to code a caching script?
I was thinking about creating a cache file for each API request using some kind of output cache, and then keeping that file around for a few days. After about 7 days, the file would be deleted. This sounds good in theory, but I don't know how to do this. It seems that searching google produces results related to caching mySQL results.
I'm not asking to be spoon fed, and I'm sure I can figure this out eventually. I would appreciate being point in the right direction, and I would like to hear solutions about what other people have found. I've been coding for just a few months now, and I'm just too new to really know what's out there and what's "best."
Thanks!
- Nite
-
wayfarer -
Thanks
SignatureI build web things, server things. I help build the startup Veenome. | Remote Programming Jobs{{ DiscussionBoard.errors[4380955].message }} -