Skip to content

Instantly share code, notes, and snippets.

@joshhartman
Created October 11, 2021 21:15
Show Gist options
  • Select an option

  • Save joshhartman/4a81546debddca6dae4ef194248751c7 to your computer and use it in GitHub Desktop.

Select an option

Save joshhartman/4a81546debddca6dae4ef194248751c7 to your computer and use it in GitHub Desktop.

Revisions

  1. joshhartman created this gist Oct 11, 2021.
    7 changes: 7 additions & 0 deletions gzip_mime_types.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    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.