ericwang14 / webutilities

Automatically exported from code.google.com/p/webutilities
0 stars 0 forks source link

To simplify configurations and easy to use, it is good to have all-in-one kind of Filter #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It will nice to have single all in one kind of Filter that will perform all the 
configured optimization in one call.

1. It will simplify web.xml mapping as it will be only one entry to be added 
there

2. It will be faster as there won't be chain of filter calls.

3. It should do following optimization
    2.1 - Merging of multiple resources
    2.2 - Minification of static resources
    2.3 - Adding appropriate headers
    2.4 - GZIP compression
    2.5 - Specific charset
    2.6 - Caching result and return from cache if nothing modified
    2.6 - ETag
    2.6 - URL fingerprinting for efficient client side caching ( to be used with wu:url tag)

4. All above optimizations should have ability to turn on or off

5. It will be nicer if turn on or off of certain optimization can also be 
conditional with criteria like
    4.1 - URL based 
    4.2 - Mime based
    4.3 - UserAgent based

May be Apache modules like configurations?

Original issue reported on code.google.com by rr.patil...@gmail.com on 21 Apr 2011 at 5:54

GoogleCodeExporter commented 9 years ago
0.0.5 will fix existing bugs and will add the caching features (ETag, URL 
fingerprinting etc). 

Moving this Apache Module like enhancement to 0.0.6.

Original comment by rr.patil...@gmail.com on 15 Oct 2011 at 6:14

GoogleCodeExporter commented 9 years ago

Original comment by rr.patil...@gmail.com on 22 Feb 2013 at 8:54

GoogleCodeExporter commented 9 years ago

Original comment by rr.patil...@gmail.com on 10 May 2014 at 9:42