Reply to Re: hitting the limits

Your name:

Reply:


Posted by Rik on 04/29/06 12:06

windandwaves wrote:
> Rik wrote:
> ...
>> To decrease server-load you could think about a cache system: review
>> the dependancies of databasefields for each of your pages, create
>> appropriate timestamps with an index in the database if they don't
>> exist already, and cache the pages locally as html with a date/time.
>> On a request, check wether there is a timestamp in the database
>> higher than of your cached html If not, serve the cached file, if so,
>> create new cachefile and serve that. Creating of cachefiles should
>> offcourse take place automatically on an update of a certain database
>> field, but that might be even more work.
>
>
> Rik, that is a cool idea, would you just place the html in a database
> or is there a special chache where pages are kept?

An HTML page can perfectly be kept in the database, makes it even easier to
check wether a page has to be "rewritten" or not, possibly in 1 simple query
returning 0 or 1.

And if some items in a webpage aren't cachable, you could always try to
cache certain portions of code.

Grtz,
--
Rik Wasmus

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация