[horde] Themes issues?

Dominik Erdmann horde_mailing at der-domi.de
Thu Jun 18 08:51:40 UTC 2015



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.


More information about the horde mailing list