Better HN
topnewbestaskshowjobs
Log inSign up

kcro

4 karma · joined Aug 6, 2009 (17y ago) · 1 submissions

Submissions

comment 17y ago · link · parent

Since the YSlow recommendations and practices are almost universally used, wouldn't it be possible to automate the process? Could someone write a servlet filter that incorporated the optimization rules and automatically applied them to outgoing content on the fly? And you could make this an Apache module so that it could sit at the web server layer instead of at the container layer.

This would also address issues that arise when you're using a product or framework that assembles the page dynamically, and you're not in control of how the css links are constructed.