If you have a live website (using PHP,MySQL,JS,CSS) and say you change some functionality. What is the best way to make sure, that when a user visits the site, the changed pages are updated and not loaded from cache?
If you have a live website (using PHP,MySQL,JS,CSS) and say you change some functionality.
Share
For that reson there is file loaders made for. When you load css, js or any other file, you must set cache control header. You can do it by editing .htaccess or with php.
.htaccess demo
PHP demo: