advanced-cache.php
8 years ago
class-litespeed-cache-config.php
8 years ago
class-litespeed-cache-tags.php
8 years ago
class-litespeed-cache.php
8 years ago
advanced-cache.php
20 lines
| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * LiteSpeed Cache Plugin |
| 5 | */ |
| 6 | if (!defined('ABSPATH')) { |
| 7 | die(); |
| 8 | } |
| 9 | |
| 10 | define('LSCACHE_ADV_CACHE', true); |
| 11 | |
| 12 | /** |
| 13 | * Because of the way it handles caching, the LiteSpeed Cache plugin for WordPress does not need an advanced-cache.php file. |
| 14 | * For this reason, there is no real logic in this file. So why include it at all? |
| 15 | * Setting the WP_CACHE global variable requires that an advanced-cache.php file exists. |
| 16 | * This variable can help to increase compatibility as other plugins can check it to determine whether or not a cache is currently being used. |
| 17 | * It can also help to avoid conflicts with other full page caches such as W3 Total Cache, etc. |
| 18 | * |
| 19 | */ |
| 20 | return; |