The URL approach appears to be not working for me. It looks like some proxy or something making the files content empty and it is not delivering to the client. Is there any other way ?
–
Anil NamdeNov 9 '10 at 5:56

@Anil can you provide the code how you are adding js and css to the code.
–
kobeNov 9 '10 at 6:08

when you are adding code you should just give like below /js/global.js?v=1 , /css/global.css?v=1 and that should automatically resolve the directory.
–
kobeNov 9 '10 at 6:09

does this also work in CSS, background:url('/images/logo.gif?v=1') ?
–
Anil NamdeNov 9 '10 at 10:30

@Anil Namde browsers cache files based on their location. If you change the query string, the browser has no way of knowing whether or not the content will be different, so it is forced to send an additional request for the data. In short: yes it will work for background images too.
–
zzzzBovNov 9 '10 at 15:41