SoofMan Warp 13 ;)

Joined: 12 Apr 2007 Posts: 26
|
Posted: Mon Apr 16, 2007 7:16 pm Post subject: Official MOD: PHP Hypercacher Refresher |
|
|
Inspired by modem proposed by user Slawekneo on the PHP Fusion Forum, i produced new, "official" modification of PHP Hypercacher: PHP Hypercacher Refresher
PHP Hypercacher Refresher and base version of PHP Hypercacher
PHP Hypercacher Refresher is a modification of PHP Hypercacher Standard and GZIP, created specially for websites, that strictly need an instant update of all pages immediately after users make them. (As for example often visited forums, CMSes and forums with SHOUTBOX function, PHP-based chats.)
Diffrently from "normal" PHP Hypercacher, when using PHP Hypercacher Refresher or PHP Hypercacher Refresher GZIP update of the website's appearance is instant, za every time an user sends a form that could change data of the website. Also if the user logs on, data of all subpages will be automatically refreshed.
Advantages of PHP Hypercacher Refresher comparing to base version of PHP Hypercacher:
* Faster updates: On the contrary to base version, where update of every subpage happens automatically every specified number of seconds, when usingPHP Hypercacher Refresher the update happens every time after any user changes something.
* Similar speed and effeciency of algorythm: The algorithm which runs PHP Hypercacher Refresher is almost identical to the one of the normal Hypercacher. if the users don't make changes on the site too often (meaning the same or less often than the cache refresh time), then PHP Hypercacher Refresher will function with the same speed as the base version.
Disadvantages of PHP Hypercacher Refresher comparing to the base version:
* Possible server load increase: If users will make very often changes on the pages of your website (forum, shoutbox), then the acceleration caused by PHP Hypercacher Refresher will be smaller and less noticeable, than when using the base version.
* Greater sensivity to server overload: In the case mentioned above, when users will frequently make changes on your subpage, then in peak hours the server load may increase meaningly. This inconvenience doesn't happen in the base version of PHP Hypercacher, where increase of server load of an intesively used/modified website is much smaller.
* Greater disk space usage: In the case users change content of the website often, the disk space used by PHP Hypercacher as temporary cache may increase greatly, though in case of PHP Hypercacher Refresher GZIP it's still small amounts counted in tens of megabytes for a service with few million shows a month (already tested on the Nowebiuro.pl website). |
|