shailendra333 / webutilities

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

URL fingerprinting idea #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This is just an idea and need to think upon to Support URL fingerprinting for 
even better resource caching/reloading mechanism.

1. Custom tag to link CSS, JS, images or other static resources.
2. For fingerprinted resource, do not send ETag in the response
3. Send Appropriate Expires, Last-Modified and Cache-control headers
4. Fingerprinted resource will not be renamed, but JSCSSMergeServlet will 
resolve such URLs dynamically
5. Non fingerprinted URL should also be able to serve the resource
6. Non fingerprinted URL response may include  ETag based on whether it is on 
or off
7. Fingerprinting based on version, hash or something?

Original issue reported on code.google.com by rr.patil...@gmail.com on 7 Apr 2011 at 6:48

GoogleCodeExporter commented 9 years ago
Single tag <wu:url value="url">  will return fingerprinted url to be used in 
html.

Original comment by rr.patil...@gmail.com on 7 Apr 2011 at 8:42

GoogleCodeExporter commented 9 years ago
Checkin details: http://code.google.com/p/webutilities/source/detail?r=221

Original comment by rr.patil...@gmail.com on 9 Apr 2011 at 10:20

GoogleCodeExporter commented 9 years ago
Correction to point #2 #6. There is no need to restrict ETag sending for 
fingerprinted resource.

Original comment by emailmej...@gmail.com on 11 Apr 2011 at 4:59

GoogleCodeExporter commented 9 years ago

Original comment by rr.patil...@gmail.com on 14 Apr 2011 at 3:51