So. We have this image we use for the navbar. We changed the navbar image, but because we had set the expires to be a day, the change wasn't apparent to people for a day after we deployed.

I proposed to our team to leverage the tapestry's Asset system to have normal context assets add a nonce at the end of the url:

from '/img/someimage.jpg' to '/img/someimage.jpg?hash=234kjl4k4nn2nkkj3'

much like what the classpath assets do, having the nonce be some sort of unique value of the asset, thus having a unique url any time the image changes.. (lastmodtime+filesize seems to be the most efficient)


Any tips?  Any tricks?  Have we done this already?

I was just going to look at creating my own Asset class, and replacing the 'context:' prefix with my implementation, but if there is an easier way. :)

fernando



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to