jahaziel17 / wro4j

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

wro4j-runtime-taglib does not include hashed fileName to refer to resource in browser #929

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Followed documentation to include wro4j-runtime-taglib 
(https://github.com/wro4j/wro4j-runtime-taglib)

2. Update property files

managerFactoryClassName=ro.isdc.wro.manager.factory.ConfigurableWroManagerFactor
y
preProcessors=cssUrlRewriting, cssImport,semicolonAppender
# Finger Printing
hashStrategy=MD5
namingStrategy=hashEncoder
resourceUriStrategy=versioned

3. Build time wro4j surely generates files with hash value in name.  But 
browser does not show new hashed name. Instead it shows group-name.css or 
group-name.js.

From wro4 doc:
DefaultHashEncoderNamingStrategy - encodes a hash into file name, where hash is 
generated based on resource content. By default the CRC-32 algorithm is used to 
compute the hash, but this can be easily switched with other algorithms. When 
this strategy is used, the all.css can renamed to something like 
all-253f2eba.css, where 253f2eba is a CRC-32 checksum of the css resource.

What is the expected output? What do you see instead?
I was expecting browser will refer to css file as "all-253f2eba.css" but its 
referring to it as "all.css".

What version of the product are you using? On what operating system?
wro4j 1.7.8

Please provide any additional information below.

Original issue reported on code.google.com by anuja.pa...@gmail.com on 7 Aug 2015 at 8:11

GoogleCodeExporter commented 8 years ago
The project was migrated to a different location. Please, open any issue at 
this location:
https://github.com/wro4j/wro4j/issues

Also, if the problem is related to wro4j-runtime-taglib, open the issue for 
that particular module.

Original comment by alex.obj...@gmail.com on 15 Aug 2015 at 11:34