File: .htaccess

package info (click to toggle)
libjs-emojify 1.1.0+dfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 5,972 kB
  • sloc: makefile: 4
file content (7 lines) | stat: -rw-r--r-- 313 bytes parent folder | download
1
2
3
4
5
6
7
# Gzip assets before sending to client
AddOutputFilterByType DEFLATE text/html text/event-stream text/xml text/css text/javascript application/javascript application/json

# Set cache lifetime for these files as a week
<FilesMatch ".(js|css)$">
    Header set Cache-Control "max-age=604800, public"
</FilesMatch>