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 trialAaron Cummins
9,830 PointsHard refresh
Chrome wouldn't let me do a hard refresh with command+shift+r. I clicked an option to disable cache and did a regular refresh but I'm still wondering two things. 1) Does that yield the same results? 2) Is there something wrong or some other way to make the hard refresh work?
3 Answers
Peter Vann
36,427 PointsHi Aaron!
I have sometimes had to go into Settings > Privacy and Security > Clear Browsing Data to clear the cache before a hard refresh will act as expected (when using Chrome).
Also, I have found that if I enable a CDN (Content Delivery Network) on a site, sometimes a change to the website (such as swapping-out an image) won't take effect, even with a hard refresh, because the change hasn't propagated through the CDN (can take hours to days, sometimes). In fact, I will usually disable any CDN while developing, to avoid such issues.
By the way, if you are using anything like WordPress, it helps to use a plugin, such as WP Super Cache, to completely clear your cache and be able to hard-refresh properly.
More info:
I hope that helps.
Stay safe and happy coding!
Aaron Cummins
9,830 PointsI figured out that it was actually another app called 'Be Focused' that was running in the background and had overridden the key shortcut.
Peter Vann
36,427 PointsGlad you found a solution!
Have a great weekend!
Aaron Cummins
9,830 PointsAaron Cummins
9,830 PointsThanks, definitely was a separate issue but this is great to know for future reference!