Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Chrome not showing updated page

I'm working on a Rails app and was updating a page.

The page has a whole bunch of background images defined in css. When I refreshed the page (cmd+r on the mac), nothing changed. When I went into the Chrome inspector and unchecked then rechecked the css rules, the images appeared. Also, if I opened a new private browsing window (cmd+shift+n), the images all correctly displayed.

Am I running into some weird kind of cacheing issue?

Chrome: Version 21.0.1180.89

Mac OS X: 10.8.2

like image 594
Tyler DeWitt Avatar asked Nov 29 '22 02:11

Tyler DeWitt


1 Answers

You need to do a hard refresh that bypasses the browser cache. I don't know the key combination on a mac, but it's probably similar to Windows: ctrl-shift-R. This is not the same as a normal refresh (ctrl-r on Windows) that does not bypass the cache.

Aparently on a Mac the equivalent key combination is cmd-shift-r.

like image 79
Roddy of the Frozen Peas Avatar answered Dec 12 '22 08:12

Roddy of the Frozen Peas