PHP Simple Cache Download


PHP Simple Cache Download

Use PHP Easy Cache to generate and serve static cached pages for PHP web sites routinely. Totally configurable, plug and play, extraordinarily straightforward to make use of cache script that may be turned on/off for particular person pages. Cache might be deleted for single web page or all cached pages might be deleted if wanted. Pace up web site loading time and make your web site extra responsive, sooner, but at all times server contemporary content material to customers.

Should you prefer it, please fee it.

PHP Simple Cache Download PHP Simple Cache Download PHP Simple Cache Download PHP Simple Cache Download PHP Simple Cache Download

Now up to date model routinely clears cache for single web page on kind submission. You’ll be able to delete single cached web page. Cached pages are saved with distinguishable names with html extension. You’ll be able to establish which web page is cached by its title. In downloadable file, we’ve included demonstration file to cache pages containing kind, session information and variables.

PHP Easy Cache Options

  • Simple to combine and configure with any web site (simply embrace a single file)
  • Use on a stay net server or on localhost (wamp, xampp)
  • Light-weight single file script
  • Solely connects to the database when cache is cleared, expired or cached web page doesn’t exist
  • Capability to set cached pages lifespan
  • Capability to delete cached pages
  • Capability to delete single cached web page
  • Capability to activate/off for particular person pages
  • Capability to make PHP web site responsive and sooner
  • Capability to cut back server load and sources consumption
  • Capability to cut back database requests and connections
  • Capability to cut back net server processing
  • Enhance web page loading pace (leading to higher Google Web page Rank)
  • Simple to make use of in your current web site
  • Scale back load on Net Companies and Database
  • Enhance Efficiency, meet person wants in performance and software responsiveness
  • Scale back content material supply occasions by serving content material from cache storage


PHP is a programming language to create dynamic web sites. Dynamic web sites show content material that’s requested by person. This content material adjustments if person submits kind, logs in, sends e-mail, submits remark, add/retrieve information in/from database and many others. PHP scripts additionally retrieve information from database and show it on a dynamic web page. Each time such web page is loaded in browser, PHP server has to translate PHP script, request database server, retrieve information after which show it for person.

Cache reduces server’s effort. Cache shops a translated model of web page (HTML) to show it later. When this web page is named once more, cache verifies its cached model. If cached copy of web page is obtainable and isn’t expired, it will likely be displayed and PHP server gained’t must translate PHP scripts and hook up with database server to retrieve information. This course of reduces server reminiscence utilization, server effort snd server sources consumption.

If some type of dynamic motion is carried out, previous cache is deleted and a brand new contemporary cached copy of web page is created for later use. On this means, you web site stays up and working at quick pace. A cached model of web page is far sooner than authentic dynamic web page.

It’s logical and primarily based on rule that “Solely undergo PHP scripts and database if content material of web page adjustments. If content material is similar, retailer its copy, don’t undergo PHP scripts and database tables and show cached copy.”

PHP Easy Cache is a small PHP accelerator that considerably will increase the pace of PHP web site and improves the online web page technology course of by server. Mainly it cahces a web page that has been loaded in browser as soon as. Subsequent time cached HTML model of PHP web page masses as a substitute of telling PHP server to translate the PHP code once more. Equally, in case of knowledge retrival from database server, it’s going to cache that information and retailer it in cached file to show it later, as a substitute of connecting to database once more.

It allows dynamic PHP pages to load rapidly and reduces server load by saving server translated web page into cached recordsdata and serving that saved information on demand.


Embody the primary cache script on the prime of each web page in your web site that you just need to be cached and that’s it. If not each web page, you may as well embrace this script in database file, configuration file or settings file of your challenge to cache entire web site. Flip off cache for particular person pages by passing a single variable to the web page earlier than together with principal cache script.

Cache all PHP web site, however when performing a dynamic motion on any particular person web page, refresh cache to make sure web site’s secure performance and optimum efficiency on the similar time. We have now defined implementation intimately inside documentation that comes with the script.

Adjustments Log

. 24-March-2013

  • Bug fixes, enhancements, documentation correction and updates.

. 22-March-2013

  • Cached pages names are modified to comprehensible title with html extension – Earlier than pages had been being saved with a random title with none extension. You’ll be able to distinguish a web page now from completely different cached pages.
  • Added capacity to delete single present web page, implementation included
  • Added kind, classes, variables in pages to point out demonstration of cache with dynamic content material.
  • Added capacity to refresh cached web page routinely on kind submission
  • Up to date stay demo
  • Up to date documentation
  • Up to date core cache script

. 05-March-2013

  • Up to date stay demo
  • Up to date documentation
  • Up to date core cache script
  • Modified ‘cache folder’ path to absolute path in core script

If you wish to cache chosen elements of webpage(s), examine ‘PHP Metameric Cache’.


Be the first to comment

Leave a Reply

Your email address will not be published.


This site uses Akismet to reduce spam. Learn how your comment data is processed.