in reply to Javascript/CSS on the fly

There are several modules for the JS side including dumpers Data::JavaScript and fancier AJAX stuff. there are appear to be several CSS modules, and of course some color moixing code on CPAN as well... What was your question again?

There's no reason the code needs to be regenerated if you return proper headers for cacheing.

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