Hello All,
For improving speed of my website i am using the following
http://developer.yahoo.com/performance/rules.html#expires
For implementing this solution i need to do the two things using ant:
1) Renaming all the static contents(css,js,img) files each time i make a build.
2)Replacing these new names in my jsp pages.
I have completed the first task successfully but getting problem in second task.
My ant task for js files replacement is given below:
But it is also replacing the jsp file with build number because the replacetoken value is like .js.
I want that it should only replace .js files not the .jsp.
Can anyone help me in this case.
Thanks and rgds