google-code-export / wro4j

Automatically exported from code.google.com/p/wro4j
1 stars 1 forks source link

Image fingerprinting #280

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Create a processor which would add a fingerprint (hashcode) based to the 
generated url. This would allow image aggressive caching.

Original issue reported on code.google.com by alex.obj...@gmail.com on 25 Aug 2011 at 1:03

GoogleCodeExporter commented 9 years ago

Original comment by alex.obj...@gmail.com on 7 Sep 2011 at 12:33

GoogleCodeExporter commented 9 years ago

Original comment by alex.obj...@gmail.com on 15 Sep 2011 at 8:26

GoogleCodeExporter commented 9 years ago

Original comment by alex.obj...@gmail.com on 7 Feb 2012 at 9:19

GoogleCodeExporter commented 9 years ago
Images don't change that often as css/js files and even if they change those 
are usually minor changes or they may usually change name (or path if it is 
theme change).

So I consider css/js fingerprinting feature should have higher priority then 
this one.

Original comment by lystoc...@gmail.com on 11 Jan 2013 at 11:11

GoogleCodeExporter commented 9 years ago
css / js fingerprinting is already implemented. image fingerprinting is not and 
this would be an enhancement, in line with what is being done in the rails 
asset pipeline.

Original comment by jogaco...@gmail.com on 11 Jan 2013 at 4:50

GoogleCodeExporter commented 9 years ago
The css/js fingerprinting is not implemented by default in core module, but is 
available as wro4j-taglib (independent library). I'm considering implementing 
both, but it requires time. Any contributions are welcom...

Original comment by alex.obj...@gmail.com on 11 Jan 2013 at 5:10

GoogleCodeExporter commented 9 years ago
Maybe not available at run-time, but available at build-time.

Original comment by jogaco...@gmail.com on 11 Jan 2013 at 5:27

GoogleCodeExporter commented 9 years ago
As long as there is a processor implemented, it can be used for both:
runtime and buildtime. The challenge is to correctly identify the rewritten
image urls and point it to valid image resources.

Original comment by alex.obj...@gmail.com on 11 Jan 2013 at 6:00

GoogleCodeExporter commented 9 years ago
Thanks, I didn't know about wro4j-taglib.

Original comment by lystoc...@gmail.com on 12 Jan 2013 at 9:31