Cache control for source maps?


In the nextcloud .htaccess there is this line:

  <FilesMatch "\.(css|js|svg|gif)$">
    Header set Cache-Control "max-age=15778463"

However there are other files served statically. For example /core/js/dist/ and other .map files. Should they not be cached? Otherwise I think the files should be added to the .htaccess

What about png and jpeg files that might be served too?