SourceForge.net Logo    Support This Project
See also:

Advertise for free    Forum    CMS Tests    Download    Contact    Develop this project   

What is PHP Hypercacher and how does it work ?

 
" PHP Hypercacher, is pretty advanced and simultaneously relatively extremely easy system memorizing (caching) contens of last used dynamically generated HTML pages on a hard drive of the computer (server) which holds mechanisms, databases and all the content of Your internet website.

When working it out i used mechanisms genius in their simplicity, providing maximum performance for practically any web service created in PHP technology. When projecting this program I've put biggest pressure on the speed of functioning, small complexity of algorithms and small size, which has simply incredibly hastened the process of starting up of every of website's subpages.

As i have said, the mechanisms used to build PHP Hypercacher are so basic and simple that even a child could install it after a little training, and after possible small adjustments will work correctly on almost every web service or Content Management System used today.

PHP Hypercacher works automatically, activates in a moment when a user visits Your website and also alone, up to date as the readers visit the service saves, updates and deletes the old "images" of proper subpages of Your website. The more users load Your website, the more actively PHP Hypercacher works, adjusting itself and making proper number of images of WWW pages.

The extended version of the program has additionally implemented dynamic GZIP compression on-the-fly of every generated HTML/PHP page, what allows to save a lot of precious transfer/bandwidth. The compression decreases the size of average HTML page, Javascript file or CSS Sheet by 60-90% and in statistics of large websites that files consumes lion's share (70-80%) of sending data cap. Simulataneously unique optimized algorithm of my autorship causes that compression on-the-fly doesn't consume so much of server resources as the regular GZIP compression, another PHP accelerators and the function MOD_GZIP of apache server does.

That's not all: unplanned by me positive "side effect" of functioning of PHP HYpercacher is, that if even some of subsystems (as MySQL database, PHP extension) of Your website stop working, all subpages using the mechanism that is broken down may display and function properly even for long time after the malfunction occurs. The time can be set when installing/configuring PHP Hypercacher.

A shortcoming of this state will be fact, that pages of the service which are subject to the malfunction will not be refreshed and will present state/appearance of the service from the time before malfunction occured."

Kamil Sofowora (also known as: SoofMan), author of PHP Hypercacher.


The Installation of PHP Hypercacher on Your even very advanced, extended, developed and busy website causes:

  • Few, or even several times faster - loading time of every subpage. After an installation of PHP Hypercacher, every dynamically generated subpage that is using it will load as fast as the Google website (of course if the connection bandwidth allows this) or, saying diffrently, almost as fast as a static HTML page.
  • Few, or several times decreased load of the web server, database and some IT systems connected with Your website
  • Decrease of monthly demand for transfer 2 to 3 times (when using the version of PHP Hypercacher with GZIP compression)
  • Additional cover from breakdowns of Your website


That's impossible...

Yet here it is: one-month tests carried out on Nowebiuro.pl website has proven clearly, that PHP Hypercacher - GZIP version has decreased the amount of transfer used by the service by about 50% (full, complete statistics including graphics and all other files). I will also soon publishstatistics showing the impact of using PHP Hypercacher on amount of transfer used by this service.

The tests of PHP Hypercacher-GZIP on Nowebiuro.pl service are finished, but PHP Hypercacher Standard version is still installed. Visit the portal now, browse its subpages and see for Yourself what PHP Hypercacher can do. See also my CMS test pages, how do popular free Content Management Systems work with PHP Hypercacher GZIP.

The best about functioning of PHP Hypercacher is that practically irrelevant is how much you extend Your internet service and how many new functions You add. As long as PHP Hypercacher works, WWW pages using it will open on the double.



But why...

 
...have i created fast, simple, fully automated and money-saving system ?

Because IT is what really turns me on. Creating better and better, faster and faster, more and more effective and professional solutions gives me great pleasure. In the same way as creating a masterpiece gives satisfaction to sculptor or painter. When i developed the conception on wchich PHP Hypercacher is based, i had really no idea that it will work so quickly and effectively.

It would be all diffrent i PHP Hypercacher only worked - but in practice it works so well, that when i first started it on Nowebiuro.pl service i reached a state of ecstasy. That was when i had the idea to offer this creation to others, so they can also feel the kind of satisfaction i felt, when creating PHP Hypercacher.

PHP Hypercacher contains only an A4 page of PHP language code - this is about the same as a few minutes of talk with a friend using an instant messenger (as ICQ, MSN, Yahoo Messenger etc.). Despite of this i spent hundereds of hours of time perfecting it. This is really a masterpiece of programming craft.


...are you so sure that PHP Hypercacher will work on on my website ?

Because as i said earlier, PHP Hypercacher was created using simpliest, absolutely basic mechanisms, I can predict with 99% certanity that it will work, even without looking into your website's code. When creating PHP Hypercacher I used only technologies, that can be trusted to work in almost every situation. Already at the beginning I rejected advanced structures and functions unnecessarily complicating the code and slowing down execution of the program.

I'm a good programmer and usually I'm able to write many hundereds of lines of well functioning code. But in case of PHP Hypercacher, I put stability, speed, and total optimization in the first place.

This is why I've spent hundereds of hours perfecting this several lines of code, that creates PHP Hypercacher. Today I'm still amazed how much can such small fragment of code be perfected.

However there are rare cases, when PHP Hypercacher doesn't want to work like it should from the start and its implementation requires more attention of a programmer. It could happen, if Your website is using an untypical alternative system speeding up execution of PHP code - egz. similiar to the one Wikipedia encyclopedia is using.


Kamil Sofowora (also known as SoofMan), author of PHP Hypercacher.


But if that doesn't convince you...

...that maybe it will convince you, that PHP Hypercacher is fully compatibile with following known and popular free CMS systems (Content Management Systems). I have only selected the most counted CMSes, so it's possible You happened to hear some of them :
  • MediaWiki 1.8.2 (this is the CMS that famous WikiPedia is using) - works correctly starting from Hypercacher Standard version 1.901 and Hypercacher GZIP version 0.981.
  • PHPBB 2.0.22 (Extremely popular open CMS used to create discussion forums - probably everybody has seen it one or more times on the web) - works correctly starting from Hypercacher Standard version 1.901 and Hypercacher GZIP version 0.981.
  • PHP Fusion 6.0.5 (Very popular and easy to administer CMS often used for non-commercial purposes)
  • Joomla! 1.0.11-12 (Very developed and extremely popular CMS, specially in commercial, professional solutions. Zbudowany na podstawie kodu Mambo)
  • Mambo 4.6.1 (Precursor of Joomla! Also very popular in commercial circles)
  • PHP Nuke 7.9 (Once very popular. One of the first CMSes avaiable for PHP language)
  • Wordpress 2.0.5 (Very popular CMS used often to create personal Blogs)
  • Simple Machines Forum 1.1.3 (Popular CMS used for discussion forums)
  • Drupal version 2.5
  • BtitTracker 1.4 By BitTeam (Open CMS with a built-in PHP tracker, one of very few [and probably only one free] of CMSes of this type on the market)
  • [ You can add the CMS You're using now here - after little adjustments it will work for sure :) ]
Tests of other well-known popular CMSes are on the way. You can also propose me to test a CMS, which Your are using now. I will place it on the test site so You will be able to see how fast it runs with PHP Hypercacher.



And now brace Yourself for impact !

 
[Added 3rd april 2007]

Encouraged with greater possibilities of quick popularization and faster development of my program, i decided to release successive versions of PHP Hypercacher and PHP-Hypercacher GZIP on the GNU GPL license version 2 or newer, simultaneously completely resigning from collecting fees from downloading of Hypercacher Standard (the version without GZIP compression).
PHP Hypercacher and PHP Hypercacher-GZIP is now officially FREE, Open Source software.


What does it mean to You ?

- All versions of PHP Hypercacher Standard (version without GZIP compression) are avaiable for download for free - with NO FEES at all.
- You can now, without spending any money test functioning of PHP-Hypercacher on your website !
- Choosing PHP Hypercacher you benefit from dynamical development, given by openess of the code.
- You have full freedom in usage, modification and adjustments of my invention to the needs of Your website.




See also...





And now little of technology...


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).


More about PHP Hypercacher

PHP Hypercacher is an extremely speed and space-optimized PHP scripts set.

Sscripts from PHP Hypercacher famliy consists of:

  • PHP Hypercacher Standard - standard version, which only speeds up functioning of Your website. License : GPL version 2 or later. Download
  • PHP Hypercacher GZIP - version with GZIP compression, which hugely speeds up the functioning of Your website, saves precious bandwidth using compression, and simultaneously putting absoultely minimum strain on the harware, thus minimizing server load. License: GPL version 2 or later.

And modifications of the base versions - PHP Hypercacher Refresher

  • PHP Hypercacher Refresher Standard - modification of the PHP Hypercacher Standard version.
  • PHP Hypercacher Refresher GZIP - modification of the PHP Hypercacher GZIP.



Every of PHP Hypercacher scripts...

... consists completely from less than an A4 page of PHP Script. Installation is as simple as copying two pieces of code in two places, where execution of the scripts generating appearance of every subpage scripts starts and ends (egz. in header and footer). Thos is extremely easy. See more in the documentation

... does not load any external modules using include() or require()

... is compatibile with PHP versions 4.3.0 and up

... does not use any object language syntax

... does not require from PHP any additional modules, however the GZIP version requires presence of ZLIB library, which is avaiable in every (even the cheapest) currently avaiable hosting package

... does not require running any scripts using CRON

... is fully automated and self-acting - it works as the users visit Your website. After installation no additional time needs to be sacrificed to keep it running

... is incredibly simple in installation and maintenance. So simple, that you could order a 10-year old child to do it.

... because of its simple and effective construction, is extremely resistant to errors and incompatibilities. In case of website's malfunction, you can be sure that PHP Hypercacher will be the last thing that breaks down/stops working. Usually, when just PHP works, PHP Hypercacher will work too.

... works so as effects of its work were not visible to end user. Even when small error occurs, the user won't notice that, because damaged functions of PHP Hypercacher will be automatically turned off and the page will display as if the PHP Hypercacher did not exist.

... in case of partial malfunction of database or some PHP module, it shows the visitor of Your website the last "image" of the fiven subpage, which was generated earlier, so the visitor is unaware of the fact that the malfunction exists. Of course it only happens when an image of needed subpage exists and is not oudated (which depends on cache refresh time).

Best viewed with Firefox Powered by Linux No software patents Licensed under GPL