[wp-hackers] Adding A CSS Loader

Timo Kissing timo.kissing+wordpress at gmail.com
Tue Apr 24 19:09:39 GMT 2007

Hash: SHA1

Jamie Holly wrote:
> The script execution would be minimum. This proposal would create a
> static CSS file whenever the CSS has changed (plugin
> additions/updates, them update, or perhaps every X hours just to be
> sure everything is up to date). We could even (and probably should)
> add a check every X number of hits/minute(hours) that compares the
> filemtime for each CSS to the master and if a CSS has been modified
> since then, a new one is created. The overall factor is the output -
> which would be a single static file.

Writing a static file is certainly good, but I have some questions:
a) What about themes that (want to) include different stylesheets
depending on what is displayed? (e.g. a completely different stylesheet
for archives)
b) What if a plugin (wants to) include(s) a stylesheet depending on
<younameit>? (weekday, theme selector on the page, ...)
c) Will there be an option for plugin/theme developers to switch to a
on-the-fly-generation so they can alter any css file (in there favorite
editor) and get the new css on next page load? I would not want to have
to wait x minutes, do y reloads or press a button every time I make a
change to a css file during development.


Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


More information about the wp-hackers mailing list