# Public portfolio assets and LinkedIn/Open Graph crawler support
<IfModule mod_mime.c>
  AddType image/jpeg .jpg .jpeg
  AddType image/svg+xml .svg
</IfModule>

<IfModule mod_headers.c>
  <FilesMatch "\.(?:jpg|jpeg|png|webp|avif|svg|ico)$">
    Header set Cache-Control "public, max-age=604800"
    Header set Access-Control-Allow-Origin "*"
  </FilesMatch>
  <FilesMatch "\.(?:html|htm)$">
    Header set Cache-Control "no-cache, must-revalidate"
  </FilesMatch>
</IfModule>
