Did a silly mistake when I updated a MVC website the other day. I did some css and html changes but that didn’t seem to be updated when I hit F5 in the browser. It only become updated when I did a rebuild in Visual Studio, really frustrating and I spent nearly 1 hour to figure out what was wrong.
At last I found what was causing this. It was beacause it was a OutputCache directive on the action in the controller that cached all the content.
Sometimes the answers are really simple if you know where to look.. =)