, gzip: https://medium.com/@bryan.hughes/how-to-enable-compression-on-godaddy-shared-linux-server-deflate-gzip-44f2ab58d0ad#.9yod714no
https://gist.github.com/dehuszar/68a18367f7e9fa6fb127 ( https://www.google.com/search?q=ember+cli+where+to+put+.htaccess+file)
[your-app]/public/.htaccess
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^index\.html$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.html [L]
</IfModule>
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
<files *.html>
SetOutputFilter DEFLATE
</files>
<files *.svg>
SetOutputFilter DEFLATE
</files>
gziping index.html. . media.com .
I also use ember-cli-deploy with ember-cli-deploy-build and ember-cli-deploy-ftp, but not ember-cli-deploy-gzip at this time. I also had to remove ember-cli-sri due to a weird console error about some hash integrity of the SHA check on my js and css files. At first ember-cli-favicon worked on creating my initial icons, but then it stopped working and I had to remove it. These tools are fairly easy to set up, but I’ll let you navigate in the settings if the documents change.
source
share