No Cache ONLY for SuperAdmin

Hi guys,
Just trying to figure out how to not cache ONLY for the superadmin
Any guess would be appreciated
I've tried to change advanced_cache.php to this
Note the is_super_admin() function
But it doesn't work
I guess I don't really understand where to make this modification :p
Thanks for your help...
Just trying to figure out how to not cache ONLY for the superadmin
Any guess would be appreciated
I've tried to change advanced_cache.php to this
- Code: Select all
else if (QUICK_CACHE_DONT_CACHE_WHEN_LOGGED_IN && function_exists ("is_super_admin") && is_super_admin ())
return $buffer; /* Do NOT cache. * Re-checking this here ( when possible ) because it's so important! */
/*
Note the is_super_admin() function
But it doesn't work
I guess I don't really understand where to make this modification :p
Thanks for your help...
