how to cache the twitter api result?
问题 I would like to cache the result of the twitter api result and display them to users.. What's the best method to cache the result? I'm thinking a writing the result into a file based on a time limit.. Is that ok or any other method should be used? And most importantly what would be the ideal cache time ? I would like to display the latest content from the twitter but the twitter api has the request limits.. And my site has solid visitors/day.. 回答1: The cleanest way to do this would be to use