Version-ing of image under /etc/design... much like versioned clientlibs
Hi,
We have a requirement where we would like to version images under /etc/design. Basically, what we want to do is that if the image has been modified or republished a new version should be created and therefore the image could be cached on the dispatcher for a longer TTL like an year or so.
I thought of extending the AbstractImageServlet but since the images under /etc are nt:resource so they can't adapt To Asset class and the ImageContext gives NPE on adapting it to anything.
Any pointers on how this can be done would be appreciated.
Thanks