in reply to Re^2: Javascript/CSS on the fly
in thread Javascript/CSS on the fly

That's only an issue if it isn't inlined. And if it isn't inlined you can allow for caching better by providing some parameter in the URI to tie it to the page or set of pages it was generated for /applies to.

--
In Bob We Trust, All Others Bring Data.

Replies are listed 'Best First'.
Re^4: Javascript/CSS on the fly
by mickeyc (Initiate) on Oct 28, 2009 at 20:50 UTC
    I recently wrote a mod_perl output filter which sits inside Apache. It intercepts requests for .css files and then "compresses" them on the fly before sending. It's not gzip compression, what it does is strip whitespace, comments, newlines etc. Check it out here: Compressing CSS on the fly