I recently encountered a problem in my website – some users do not have new version of the webpage displayed when it’s updated. Although refreshing several times helps the problem, I don’t want to add information on my site how to clear cache. Therefore I ask – how to change my .htaccess to make single page (single html document, but only this one – it’s simple enough to not overload traffic) send new version every time. I searched, but most of the problem solutions are “How to clear browser cache”.
Share
I see you are using PHP, you can do it from PHP like this:
Be sure to not send anything before the header (no echo, print etc …).