简体   繁体   中英

Caching Tweets using PHP

I am developing an website TwittyBlog.com and what I am trying to do is to cache tweets for couple of hours and check new tweets after that time to improve the response time (otherwise it checks tweets of that particular user everytime he or others visit)

What do you recommend me? What is the best practices to cache the tweets? I am not quite at PHP as I am in .NET environment since I decided using PHP for my personal projects (I've been using it for 4 months not so often)

The main idea of the TwittyBlog is to create a blog website for a user out of his/her tweets.

Thanks.

您可以使用JG Cache,它是一个PHP库,可帮助您使用Memcache缓存几乎所有内容。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM