I want to make the js and css files which are modified are to be downloaded at the client end when a page is accessed. I have these approaches
- Manually add the modified timestamp the URL in each page.
- I was thinking of writing a scriptlet code in all the jsp pages which will read all the js and css files modified timestamp and append it to the url in the page.
- Add the modified timestamp while building the war file using ANT.
I have following questions.