Docs feedback: Also compress svg and xml files in the pages compression example
Document page: https://docs.gitlab.com/ee/user/project/pages/introduction.html#serving-compressed-assets
The example contains the following two lines:
- find public -type f -regex '.*\.\(htm\|html\|txt\|text\|js\|css\)$' -exec gzip -f -k {} \;
- find public -type f -regex '.*\.\(htm\|html\|txt\|text\|js\|css\)$' -exec brotli -f -k {} \;
svg
and xml
should also be in the file list as it is also text-type and may lead to significant size reduction.
Edited by Hong Xu