comolo / contao-supertheme

SuperTheme is the best way to use SCSS, JS, CoffeeScript with Contao CMS.
7 stars 2 forks source link

two different CSS collections? #14

Closed fritzmg closed 8 years ago

fritzmg commented 8 years ago

I recently noticed, that when supertheme is used and I have regular CSS files (and/or internal CSS files) defined in the page layout, plus additional SCSS files, supertheme will generate a second CSS collection for the <head> containing only the content of the of the SCSS files. Is this intentional?

comolo commented 8 years ago

I remember there was a reason to implement it that way. I think it had to do with caching problems. I will figure something out.

fritzmg commented 8 years ago

Oh I see - maybe the same problem like this one: netzmacht/contao-theme-plus#83 ?

comolo commented 8 years ago

I can't tell for sure. But like I sad I will figure out a safe solution.

comolo commented 8 years ago

To avoid caching problems as mentioned above I will leave it unchanged. A second CSS file has not a significant speed impact.