Thanks.. what about:
1. I see that wro4j sets eTags, I'm not too familiar with eTags, but,
I would have thought they could solve this problem? E.g. the eTag
probably represents a hash of the resource, and the browser could then
request the resource each time, specifying the eTag, and be told that
the resource hasn't changed? Even if that does work, its probably not
as efficient as just having the browser cache it.
2. What about this angle to solving the problem: in theory wro4j
doesn't even need to do anything, all that needs to happen is that I
put a parameter on the url representing the MD5 of the resource's
contents. Can we think of any way for my scala code to get the MD5 of
the resource?
a) maybe it could make a HTTP request for it, that seems really ugly
b) Maybe it could some how get the wro4j manager instance and ask it
directly?