views:

91

answers:

8

While working on HTML I and testing offline, you know changing the code and refreshing the browser, nothing is happening anymore. Both Firefox and Safari seem to not care about refreshing to reflect the changes. But Opera does... Even if I upload the new file to the server and refresh in FF it is not showing the new code styles, I have emptied cookies. I am confused, any ideas? Thank you.

+1  A: 

The easiest way to get around this is to press ctrl+r or ctrl+F5. The ctrl modifier (supported by most/all modern browsers) forces a full reload of the page.

Cide
+1  A: 

Try refreshing with CTRL + F5

That will empty the browser's chache, as well as refresh the page

Andreas Grech
A: 

Make sure your server is sending the correct caching information for the file. If it doesn't tell the browser correctly that the file is outdated, the browsers won't download it again.

Aaron Digulla
A: 

Or shift+click on the refresh button

Justin Johnson
A: 

You also can load your style using direct url and then press ctrl+r (ctrl+f5) to refresh it.

Nikita Prokopov
+3  A: 

Maybe you're modifying a different file. It happens.

Randell
I have done this before. Accidentally renamed the file and not noticed. Palm --> face!
Molex
In my case, I was modifying a similarly named file - ON A DIFFERENT PROJECT! Spent a good number of minutes figuring out what was wrong with my code when there was none.
Randell
Thank you everyone so much for the input, Im installing the developer addon now, and force clearing the cache worked. Thanks!
thatryan
+1  A: 

Are you going through a proxy server? Often these can cache files.

Otherwise, check browser settings:

In IE7 go to Tools > General > Browsing History Settings and select 'Everytime' for the 'Check for new pages' option.

Dan Diplo
+2  A: 

When using Firefox I would install the Web Developer extension https://addons.mozilla.org/en-US/firefox/addon/60 which is a really good tool for forcing cache to empty.

AutomatedTester