- Site Template
- WordPress Theme
- Blogging Theme
- CMS Theme
- Marketing Template
- eCommerce Theme
- Forum Theme
- Flash Template
- PSD Web Template
- .NET Script
- PHP Script
- HTML5 Code
- CSS Style
- Edge Animate Template
- Muse Template
- TypeEngine Theme
- Static Site Generator
- Sketch Template
CodeCanyon PHP Metameric Cache 4363239
PHP Script \ Miscellaneous
Cache \ Performance \ Query \ Static \ Page \ Speed \ Time \ Caching \ Blocks \ Faster
PHP Script - PHP Metameric Cache 4363239 by techmynd @ CodeCanyon
PHP Script \ Miscellaneous
Last Update: 26 March 13; Compatible Browsers: IE6, IE7, IE8, IE9, IE10, Firefox, Safari, Opera, Chrome; Software Version: PHP 4.x, PHP 5.x, PHP 5.0 - 5.2, PHP 5.3; Files Included: HTML, CSS, PHP.
PHP Metameric Cache is a disk based cache mechanism that lets you create cache for selected parts of PHP page or PHP website quickly and easily. It does not depend on URL structure of your website. You can store each cached part with a unique name and then retrieve it or delete it on requirement.
This cache will create segmented cache for your web application for those parts that require heavy server processing. Use this to speed up your website, boost performance and loading time.
You will have to place two lines of code at starting point (where you want to start caching) and one line of code at ending point (where you want to end cache). Same code applies for as many sections as you want to cache. Only the name variable ‘value’ of cached file will be changed for each part (only once). Cache for a section of code, will be stored with its unique name that you specify.
If cache for any section of code has expired, on new cache creation for that section, it will be overwritten. You can delete the cache manually and selectively but normally you do not need it. You can delete all cache anytime.
This system is for those who do not want to cache whole pages. Select your code to cache, name it and put it under cache and forget it.
Recently, I made a dynamic PHP application that had a navigational menu. Elements in menu could display on header, footer, sidebar on admin based selection. The menu had a nice CSS for its styles. I implemented huge PHP checks on that menu to control placements and styles of the menu elements. Actually in the end I realized that these checks on-page-load every time, could slow down application. I needed some sort of caching to cache only that navigation and then few more sections of every page. This cache can solve such problems.
- Create cache for specific parts of webpage or create full webpage cache.
- Easy to integrate in and configure with any website
- Lightweight script
- Only connects to the database or go through PHP scripts when cache has expired or cache page does not exist
- Set cache time easily
- Delete selected part (file) from cache or all cache files
- Reduce server load, processing, resources consumption and increase website loading speed making it responsive
- Reduce database queries requests
This script is for those who do not like ‘full page caching’ or ‘full website caching’. Exclude login or user areas completely from caching. Take selected parts, from website or from PHP page – define their names and cahce those parts individually. This cache will get output from those parts and store them with their unique names in cache folder. Next time when the page loads, if those segments are stored in cache, will be displayed from cache and their real PHP code that generated those parts will not be executed. Real PHP code execution including database requests will be skipped and its already stored output will be displayed.
You can cache as many parts of a page or a website as you like. This gives you full control over your website content. You can decide from where, what and how much to cache. Its simple and easy to use.
Implementation / Usage
Code or Content no 1
Code or Content no 2
ans so on.
If you want to create cache for full webpages, check ‘ Simple PHP Cache ’.
Email with Multiple Attachments (HTML5, PHP); PHP Simple Cache.
Keywords: accelerator, blocks, cache, caching, faster, file cache, load time, page cache, performance, php cache, query cache, speed, static cache, web cache.
Android, Builder, Business, Clean, Corporate, Creative, Design, Email, Fashion, Gallery, Image, Iphone, Jquery, Landing, Magazine, Magento, Marketing, Minimal, Mobile, Modern, Multi, Multipurpose, Online, Parallax, Personal, Photography, Plugin, Portfolio, Product, Responsive, Retina, Simple, Slider, Social, Store, Template, Theme, Video, Woocommerce, Wordpress
Show all tags
Show all tags
- ThemeForest RBestate Responsive WordPress Real Estate Theme 16729659
- ThemeForest Sports Time Responsive Blog HTML Template 19387068
- ThemeForest Deliver Barber Hairdresser & Hair Salon Template 19484685
- ThemeForest Ippo Shop Minimal E-commerce WordPress Theme 19386347
- ThemeForest Universe Education HTML Template 19452805
- ThemeForest L'bum Responsive WooCommerce Theme 19234570
- ThemeForest Minimax Minimal Multipurpose Portfolio Template 19482473
- ThemeForest Kumail 50 Email Template 400& Modules & Stampready Builder 19217017
- ThemeForest Beauty Salon Onepage PSD 19450411
- ThemeForest Honour Responsive Multipurpose E-Commerce HTML5 Template 19441608