Hello everyone!
I'm using fiddler to try and replace one js file with another. I've uploaded the js file to dropbox and created a link to it.
In the Fiddler ScriptEditor, under OnBeforeResponse, I've added the following code:
if (oSession.url==orig_url) { // literal url in code
oSession.url = dropbox_url; // literal url in code
}
Loading the website that loads the js file I've noticed that no changes were made. I looked at the captured traffic in fiddler and see that indeed a request is made to dropbox_url but the response received is an old version of the file (incorrect Last-Modified header included). Copying the url from the captured request and putting it in my browser does indeed download the new version, so the problem isn't with the url itself.
I tried the Clear Cache button and Disable Caching under Rules->Performance but this odd behavior persists.
Does anyone have any idea why this is happening and how can I fix it?
Slightly unrelated, does anyone have a suggestion for a better approach to what I'm trying to do?
Thanks,
Neil