[ad_1]
To get this product on 50 % contact me on this link
Use PHP Simple Cache to generate and serve static cached pages for PHP web sites robotically. Fully configurable, plug and play, extraordinarily straightforward to make use of cache script that may be turned on/off for particular person pages. Cache could be deleted for single web page or all cached pages could be deleted if wanted. Speed up web site loading time and make your web site extra responsive, sooner, but at all times server contemporary content material to customers.
If you prefer it, please price it.
Now up to date model robotically clears cache for single web page on kind submission. You can delete single cached web page. Cached pages are saved with distinguishable names with html extension. You can establish which web page is cached by its identify. In downloadable file, we’ve included demonstration file to cache pages containing kind, session knowledge and variables.
PHP Simple Cache Features
- Easy to combine and configure with any web site (simply embrace a single file)
- Use on a dwell net server or on localhost (wamp, xampp)
- Lightweight single file script
- Only connects to the database when cache is cleared, expired or cached web page doesn’t exist
- Ability to set cached pages lifespan
- Ability to delete cached pages
- Ability to delete single cached web page
- Ability to activate/off for particular person pages
- Ability to make PHP web site responsive and sooner
- Ability to cut back server load and sources consumption
- Ability to cut back database requests and connections
- Ability to cut back net server processing
- Increase web page loading pace (leading to higher Google Page Rank)
- Easy to make use of in your current web site
- Reduce load on Web Services and Database
- Increase Performance, meet person wants in performance and software responsiveness
- Reduce content material supply occasions by serving content material from cache storage
Explanation
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 knowledge in/from database and many others. PHP scripts additionally retrieve knowledge from database and show it on a dynamic web page. Every time such web page is loaded in browser, PHP server has to translate PHP script, request database server, retrieve knowledge 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 on the market and isn’t expired, it will likely be displayed and PHP server gained’t need to translate PHP scripts and connect with database server to retrieve knowledge. This course of reduces server reminiscence utilization, server effort snd server sources consumption.
If some form of dynamic motion is carried out, outdated cache is deleted and a brand new contemporary cached copy of web page is created for later use. In this manner, you web site stays up and operating at quick pace. A cached model of web page is way sooner than authentic dynamic web page.
It is logical and based mostly on rule that “Only go through PHP scripts and database if content of page changes. If content is same, store its copy, do not go through PHP scripts and database tables and display cached copy.”
PHP Simple Cache is a small PHP accelerator that considerably will increase the pace of PHP web site and improves the net web page technology course of by server. Basically it cahces a web page that has been loaded in browser as soon as. Next time cached HTML model of PHP web page masses as a substitute of telling PHP server to translate the PHP code once more. Similarly, in case of information retrival from database server, it’ll cache that knowledge and retailer it in cached file to show it later, as a substitute of connecting to database once more.
It permits dynamic PHP pages to load shortly and reduces server load by saving server translated web page into cached information and serving that saved knowledge on demand.
Usage
Include the primary cache script on the prime of each web page in your web site that you simply need to be cached and that’s it. If not each web page, you too can embrace this script in database file, configuration file or settings file of your mission to cache complete web site. Turn off cache for particular person pages by passing a single variable to the web page earlier than together with primary 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 steady performance and optimum efficiency on the identical time. We have defined implementation intimately inside documentation that comes with the script.
Changes Log
. 24-March-2013
- Bug fixes, enhancements, documentation correction and updates.
. 22-March-2013
- Cached pages names are modified to comprehensible identify with html extension – Before pages had been being saved with a random identify with none extension. You can distinguish a web page now from totally different cached pages.
- Added skill 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 skill to refresh cached web page robotically on kind submission
- Updated dwell demo
- Updated documentation
- Updated core cache script
. 05-March-2013
- Updated dwell demo
- Updated documentation
- Updated core cache script
- Changed ‘cache folder’ path to absolute path in core script
If you need to cache chosen elements of webpage(s), verify ‘PHP Metameric Cache’.
[ad_2]
To get this product on 50 % contact me on this link