Caching: When and Where?
Posted: Mon May 05, 2008 5:52 am
Alright, I've never worked with any caching before and I'm getting ready to (so I won't have to do it later on once everything is done)
I stumbled across a couple of articles and have some questions on when and where to cache. For the time being I'm on a shared host that doesn't have APC or anything. Although I am going to recommend them installing it.
I know this will be pretty broad with what I'm asking but here is what I have in mind. Please critique my thoughts. I do believe that the API caching I have thought up will be good enough though and I think the API caching is most important right now though since it is currently slowing the load time.
API Caching
Here are the articles I checked out:
http://www.rooftopsolutions.nl/article/107
http://www.developertutorials.com/tutor ... page1.html
I stumbled across a couple of articles and have some questions on when and where to cache. For the time being I'm on a shared host that doesn't have APC or anything. Although I am going to recommend them installing it.
I know this will be pretty broad with what I'm asking but here is what I have in mind. Please critique my thoughts. I do believe that the API caching I have thought up will be good enough though and I think the API caching is most important right now though since it is currently slowing the load time.
API Caching
- Twitter - Will store to a simple file containing my most recent updates (Updated every 2-3 minutes)
- Flickr - Will store the same as Twitter containing the information for the photos (Flickr updating once or twice a day)
Here are the articles I checked out:
http://www.rooftopsolutions.nl/article/107
http://www.developertutorials.com/tutor ... page1.html