Page 1 of 1

No Cache ONLY for SuperAdmin

PostPosted: October 10th, 2011, 7:16 am
by nouxtywe
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
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... :)

Re: No Cache ONLY for SuperAdmin

PostPosted: October 26th, 2011, 2:07 am
by nouxtywe
up ! Any guess anyone ?