How to Clear The Browser Cache Using A Programming Language?

Hello Beautiful fCC family,

Short question → How to clear the cache of the visitor’s browser using code?

Question Details
I have a problem. I have a website(new with creating websites) → www.bgbasoglu.com
Whenever i make a change in the source code of the website, i need to go and clear the browsing cache manually from the browser and reload the page afterwards to see the latest changes. When my friends visit my site, it is sometimes hard to explain them how to clear the cache from their device. Is there a way to make this with code so that visitors don’t need to?

Look up Cache Busting. That is probably the best way to go these days for a site that gets regular updates. If the site does not get updated very often, then you could use more traditional method of cache-control.