Skip to content

Comment on Combining CSS or JavaScript Files on the Fly with PHP

Comments

> /combine.php?test1&test2

that's a pretty hideous URL. I'd want to alias that using mod rewrite or something. I'd also probably want to do this as part of a build script and just let the web server serve the static files. Then you'd probably just run the dynamic one on your dev server to save you having to build.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.