Wedge

Public area => The Pub => Bug reports => Topic started by: Arantor on February 29th, 2012, 02:12 PM

Title: SMF bug 3702 (emptying file cache when changing cache settings)
Post by: Arantor on February 29th, 2012, 02:12 PM
I like the idea, needs to be nothing more than a checkbox that triggers clean_cache().

It might even be worth then removing the 'clean the file cache' button from the maintenance/routine tasks and leave it solely in caching. (Plus, that makes it searchable. The other maintenance tasks are not, IIRC, a state which probably should change sometime)
Title: Re: SMF bug 3702 (emptying file cache when changing cache settings)
Post by: Arantor on March 30th, 2012, 12:26 PM
Also, interestingly, I gather SMF has moved the cache setting itself into Settings.php to enable getting modSettings properly from cache.
Title: Re: SMF bug 3702 (emptying file cache when changing cache settings)
Post by: Nao on March 30th, 2012, 12:44 PM
I have... no clue about that ;)
Probably, though! :p
Title: Re: SMF bug 3702 (emptying file cache when changing cache settings)
Post by: Arantor on March 30th, 2012, 12:47 PM
Right now it's a $settings value. Which means that you cannot ever pull $settings from a non-file cache because you don't know to do so until you've loaded $settings in the first place.