Closed (fixed)
Project:
Block Cache
Version:
master
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
30 Sep 2006 at 01:10 UTC
Updated:
7 Feb 2007 at 14:48 UTC
This seems like a funny question maybe, but I'm wanting a way to disable the user login cache block for admin who may not know better and enable it themselves. If I put -1 in the time does anyone know if that would effectively stop it from caching if they enable it?
Thanks.
Comments
Comment #1
jjeff commentedHi Caleb,
I don't know if that would work or not. This number basically just gets transferred to the cache_set() function, so it would do whatever it does there. My guess is that would cause it to refresh on every page request.
However, please note that this would be CONSIDERABLY less optimized than just enabling the original block. Each time the page is loaded the cache entry will be cleared and rebuilt in addition to the overhead of the original block calculations.
Comment #2
(not verified) commented