Skip to content

Instantly share code, notes, and snippets.

@joshhartman
Created October 11, 2021 21:15
Show Gist options
  • Save joshhartman/4a81546debddca6dae4ef194248751c7 to your computer and use it in GitHub Desktop.
Save joshhartman/4a81546debddca6dae4ef194248751c7 to your computer and use it in GitHub Desktop.
GZIP MIME Types List for use with cPanel's "Optimize Website" Module
Navigate to cPanel > Optimize Website.
Choose "Compress the specified MIME types."
Clear the contents of the "Mime Types" text input field and paste in the following space-separated list of MIME types:
text/css text/html text/javascript text/plain text/xml application/javascript application/rss+xml application/vnd.ms-fontobject application/x-font application/x-font-opentype application/x-font-otf application/x-font-truetype application/x-font-ttf application/x-javascript application/xhtml+xml application/xml font/opentype font/otf font/ttf image/svg+xml image/x-icon
Click "Update Settings" button to save your changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment