PHP Easy Cache Pro

Cache is switched off for this page.

This page is not cached

Test PHP variables on this page.

Variable 1 Variable 2

How to Use it

Use the following PHP-Code at top of every page that should not be cached.


    <?PHP
    $nocache = 'on';
    include 'cache.php';
    // rest of page code
  

or even don't include the cache.php

or if you have included the cache.php file in a script config file or database-config file then insert this code in all pagees you don't want to be cached, before you include the config file that includes the cache.php file.


    <?PHP
    $nocache = 'on';
    // rest of page code
  

For Example: If a config.php file contains the cache.php inclusion, then switch the cache off like this:


    <?PHP
    $nocache = 'on';
    include 'config.php'; // config.php contains "include'cache.php';"
    // rest of page code