This works with modern Apache. All the and things did not work for me.
ExpiresActive Off
Header set Cache-Control "no-store, no-cache, must-revalidate, max-age=0"
Header set Pragma "no-cache"
<If "%{REQUEST_URI} =~ m#^/assets/.*$#">
ExpiresActive On
ExpiresDefault "access plus 1 year"
Header set Cache-Control "max-age=31536000, public"
Header unset Pragma
</If>