changcheng / wro4j

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

Expose hashed groupName using RequestHandler #503

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I need to access the run time application via some form of API and obtain the 
current hash code for the group/file.

Example:

wro4jwebapp/wro/api/getHash?group=group1

would return something like: DF347SH3723SHJ as the response.

I would then be able to use the above when calling the group directly:

wro4jwebapp/wro/group1?key=DF347SH3723SHJ 

This way if the hash changes I can basically request the new hash value to 
ensure I get the freshest version of the file. 

https://groups.google.com/forum/#!msg/wro4j/OfljdZU2n9Y/GdMA3ORcIxcJ

Original issue reported on code.google.com by alex.obj...@gmail.com on 6 Aug 2012 at 8:32