[horde] Themes issues?

Jan Schneider jan at horde.org
Thu Jun 18 09:00:32 UTC 2015


Zitat von Dominik Erdmann <horde_mailing at der-domi.de>:

> Am 18.06.2015 um 08:47 schrieb Jan Schneider:
>
>>>>>> $conf['cachecss'] = true;
>>>>>> $conf['cachethemes'] = true;
>>>>>
>>>>> This won't work for git, since you are constantly updating the CSS
>>>>> from source but the version numbers are not changing (so the cache
>>>>> is not being invalidated).  This is no different than if you were
>>>>> manually editing CSS files, for example.
>>>>>
>>>>> CSS/Theme caching only works if using release versions or if you are
>>>>> willing to manually clear the cache.
>>>>
>>>> Not quite. That's what the filemtime setting is for, no?
>>>
>>> We don't do filemtime checks.  On purpose.  It can be quite expensive
>>> across the number of themes/CSS directories needed to be scanned
>>> (especially if they are on separate remote filesystems).
>>>
>>> I believe that was a TODO at some point to add a filemtime option, but
>>> it doesn't exist currently.
>>
>> It exists in the settings though.
>
> If I understand you correct, I should clear the cache each time I  
> update from git? So, I don't have to do filemtime checks.

No, you should enable the filemtime flag in the Horde configuration  
and forget about the rest.

-- 
Jan Schneider
The Horde Project
http://www.horde.org/
https://www.facebook.com/hordeproject



More information about the horde mailing list