hasan's blog (বল্গ)

work for fun!!!

Archive for September 26th, 2006

PHP Fragment cache solution

with 5 comments

PHP Fragment cache solution Sometimes we want to cache a part php script rather caching the whole page.

dyanmic_updated_part.gif

For example above right side list is updating after 1 hour, so why not cache it for 1 hour rather shooting database for each request.

My illustration will cache a time stamp (so when can verify when it was updated lastly):

Read the rest of this entry »

Written by nhm tanveer hossain khan

September 26, 2006 at 5:25 am

Posted in PHP, tutorial