This can be done also in your (root) .htaccess file with the mod_expires.c module.
https://httpd.apache.org/docs/2.2/mod/mod_expires.html
In the example below, the file types listed are set to expire in the local cache in 60 days by adding the expires header date to the file. Adjust as desired, but making them very short or 0 will impact server performance, increase page load times to returning visitors etc.
<IfModule mod_expires.c>
ExpiresActive on
ExpiresByType text/css "access plus 60 days"
ExpiresByType text/javascript "access plus 60 days"
ExpiresByType image/ico "access plus 60 days"
ExpiresByType image/jpg "access plus 60 days"
ExpiresByType image/jpeg "access plus 60 days"
ExpiresByType image/gif "access plus 60 days"
ExpiresByType image/png "access plus 60 days"
ExpiresByType text/css "access plus 60 days"
ExpiresByType text/html "access plus 60 days"
</IfModule>
Also, browser cache can be cleared with browser settings, so it may depend on what browser is used and how.