sameold
sameold

Reputation: 19262

old Javascript not refreshing in browser

I'm using Firefox 4 and Eclipse. I've made some edits to the js then I do Ctrl+F5 in the browser to use the new js, but I still keep getting the old js. Anyone knows what's the problem?

Upvotes: 2

Views: 1944

Answers (2)

Jonathon
Jonathon

Reputation: 2675

I get this all the time, caching never seems to work right.

Delete your history and refresh, and it should load the changes.

Upvotes: 0

Oscar Godson
Oscar Godson

Reputation: 32776

Maybe caching? Try appending a ?12345 to the end of the src of the <script> like

<script src="myscript.js?1234">

Upvotes: 2

Related Questions