Thread Starter
border
(@border)
I see these lines in the file of a plug-in ( in cache_enabler.class.php):
// DONOTCACHEPAGE check e.g. woocommerce
if ( defined(‘DONOTCACHEPAGE’) && DONOTCACHEPAGE ) {
return true;
}
I want that this code wasn’t cached:
<?php
define( ‘DONOTCACHEPAGE’, true );
$o[‘charset’] = “UTF-8″;
if (!defined(‘_SAPE_USER’)){
define(‘_SAPE_USER’, ”);}
require_once($_SERVER[‘DOCUMENT_ROOT’].’/’._SAPE_USER.’/sape.php’);
echo “<!–check code–>”;
$o[‘force_show_code’] = true;
$sape = new SAPE_client($o);
echo $sape->return_links();
unset($o);
echo “<!–check code–>”;
?>
But it doesn’t work. What do I have to make?
Thread Starter
border
(@border)
I have found the instruction for WP Rocket.
https://docs.wp-rocket.me/article/141-overriding-donotcachepage-constant-via-filter
It can be used for Cache Enabler or not? (Helper Plugin)
Please can upload your file wpzoom featured posts.php
My site is working on Videozoom v.1 and wordpress 3.5