Question

Here is the problem:

I am using visual studio 2013. I have a project with HTML files. I have added MasterPage to the project and one WebForm. I am loading the HTML file in the WebForm, so far so good, the file loads.

After I have edited the HTML file, I build the solution and launch my website. It loaded old version of the HTML file (the one before I edited it).

Tried to rename the HTML file, that helped, now the file loads with changes.
Renamed it back to previous name it loads again without changes.
Tried to Clean Solution, that didn't helped.

Any ideas why?
Thank you.

Was it helpful?

Solution

Append a Query String to the end of your URL, e.g., mysite/mypage.html?v=1

The logic for doing this was pulled from a very popular StackOverflow article on refreshing favicon icons, see the answer here.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top