Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialFNU Christian
5,549 PointsWebpage won't load correctly
Hello everyone,
For some reason, now my webpage won't show the changes whenever I refresh it after modifying some code. It worked before, it doesn't work anymore now. Now every time I want to see what the code is doing on my website, I have to open the index.html each time. Before, I just click refresh and it worked out.
Can anyone help?
6 Answers
Brian Molkovich
11,333 Pointsand use ctrl+r to clear cashe.
Logan R
22,989 PointsThe problem might lie with your cache. Try Ctrl + F5 when you want to refresh and see if it works.
Hope this helps!
Jennifer Rai
Courses Plus Student 13,164 PointsHi Christian - Are you using the localhost as your server? You may want to try clearing your browser history and cache. That usually does the trick for me.
FNU Christian
5,549 PointsHi Jennifer,
Sorry I don't understand what it means by using the localhost. I just open the file right from my folder.
Logan R
22,989 PointsYou are not using localhost then @Christianfnu :)
FNU Christian
5,549 PointsGot it, thanks L R!
Anthony Hind
5,715 PointsI had a very similar issue a while ago with mamp locally the cache refresh was set to something like 60 seconds so any updates I made would not show up it was very frustrating at the time.
Could you confirm your setup maybe we can help you further for example are you working locally, what browsers are you using and so on !!!
FNU Christian
5,549 PointsI am using Safari. I use sublime text, also I just open the file directly from my folder
Brian Molkovich
11,333 PointsHi,you work with domain or local from your computer?
FNU Christian
5,549 PointsI am working with local from my computer. Basically I saved my index.html in a folder on my desktop.
FNU Christian
5,549 PointsFNU Christian
5,549 PointsThanks. It works with Ctrl + R, I am using Mac.
Brian Molkovich
11,333 PointsBrian Molkovich
11,333 PointsYou're welcome)