EE v3 Missing Key GZIP Compression types (per PageSpeed insights)


#1

just noticing that pagespeed insights is showing that a new site on v3 of ee is NOT setup out of the box with compression on some assets, this intended?


#2

Yep, your list of gzip files does not include a few that might be helpful, especially:

application/javascript

Please consider adding that, and perhaps have the full set read:

gzip_types
    application/atom+xml
    application/javascript
    application/json
    application/rss+xml
    application/vnd.ms-fontobject
    application/x-font-ttf
    application/x-web-app-manifest+json
    application/xhtml+xml
    application/xml
    font/opentype
    image/svg+xml
    image/x-icon
    text/css
    text/plain
    text/x-component;

#3

HI @datagroove, Thanks for responce, We will surely add this to EE 3. You can also open pull request for this to EE 3.0


#4

I think the list above is a little too much. I use: gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;

This actually gives me an A score on gtmetrix.com instead of a B score with the full settings above.

Are there any good guidelines on what actually to use? Optimised for Wordpress sites preferably.

Any other settings in the nginx config file to boost speed?


#5

Hi @datagroove

Please try the latest easyengine , this issue has been fixed, you can update to latest version using :

ee update

I am closing this support topic for now. Feel free to create a new support topic if you have any queries further. :slight_smile:


#6