On Fri, Mar 11, 2016 at 9:47 AM, vincent(a)massol.net <vincent(a)massol.net> wrote:
Hi devs and especially Guillaume,
I was creating a subwiki locally and accessing it the first time was taking quite long
(several seconds) and I was wondering why. My guess is that the less cache is indexed on
the wiki id and it had to recompile the LESS files from the flamingo skin for that wiki.
I was wondering why since the compilation will result in the same CSS than the one used
for the main wiki! So it would seem to be some extra work for nothing.
So I was thinking: What about computing a checksum of the file to compile and use that as
the less cache id instead of our current cache id?
Not sure it's that easy, at least there is several files compiled with
includes between them from what I remember. But Guillaume would know
better what can been done.
Would that work?
Thanks
-Vincent
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
--
Thomas Mortagne