Cache Update Script

Development — Inash Zubair on January 17, 2006 at 9:41 pm

Just finished coding the final cache update script. Once run, it will go through each blog in the database taking the feed URL, read the feed, go through each entry and check the date of each one of it. If the date is less than eight days, it checks if the entry has already been cached. If so compares the any difference and updates the cache. Otherwise it adds the new entry to the cache and continues the next item, and next blog.

Once fully tested and if it fits the situatation, the Latest Updated feature development will begin, which will make use of the data collected by the cache update script.

Now Shahee needs to check if the server provides crons. If it is available, you need to set a cron to run the script every 6 hours. So we can have a really updated cache.

0 Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License. | mvblogs.org