• Hi there

    Just ran a compatability check and it turns out that the plugin says that i dont have mod_deflate installed, even though it is active. I get the following resultats:

    mod_deflate: Not installed (required for disk enhanced Page Cache and Browser Cache)
    mod_env: Not installed (required for disk enhanced Page Cache and Browser Cache)
    mod_expires: Installed (required for disk enhanced Page Cache and Browser Cache)
    mod_headers: Installed (required for disk enhanced Page Cache and Browser Cache)
    mod_mime: Installed (required for disk enhanced Page Cache and Browser Cache)
    mod_rewrite: Installed (required for disk enhanced Page Cache and Browser Cache)
    mod_setenvif: Not installed (required for disk enhanced Page Cache and Browser Cache)

    How come it doesn’t register that gzip (mod_deflate) is active? I’ve got the following in my .htaccess file:

    <IfModule mod_deflate.c>
    # Compress HTML, CSS, JavaScript, Text, XML and fonts
    AddOutputFilterByType DEFLATE application/javascript
    AddOutputFilterByType DEFLATE application/rss+xml
    AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
    AddOutputFilterByType DEFLATE application/x-font
    AddOutputFilterByType DEFLATE application/font-woff2
    AddOutputFilterByType DEFLATE application/x-font-opentype
    AddOutputFilterByType DEFLATE application/x-font-otf
    AddOutputFilterByType DEFLATE application/x-font-truetype
    AddOutputFilterByType DEFLATE application/x-font-ttf
    AddOutputFilterByType DEFLATE application/x-javascript
    AddOutputFilterByType DEFLATE application/xhtml+xml
    AddOutputFilterByType DEFLATE application/xml
    AddOutputFilterByType DEFLATE font/opentype
    AddOutputFilterByType DEFLATE font/otf
    AddOutputFilterByType DEFLATE font/ttf
    AddOutputFilterByType DEFLATE image/svg+xml
    AddOutputFilterByType DEFLATE image/x-icon
    AddOutputFilterByType DEFLATE text/css
    AddOutputFilterByType DEFLATE text/html
    AddOutputFilterByType DEFLATE text/javascript
    AddOutputFilterByType DEFLATE text/plain
    AddOutputFilterByType DEFLATE text/xml

    AddType application/font-woff2 .woff2

    # Remove browser bugs (only needed for really old browsers)
    BrowserMatch ^Mozilla/4 gzip-only-text/html
    BrowserMatch ^Mozilla/4\.0[678] no-gzip
    BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
    Header append Vary User-Agent
    </IfModule>

    And furthermore, it says the mod_deflate aswell as the other featuers are required for page cache etc. to Work, so my Question is: dont page cache etc. Work at all, if these are not activated? Because i saw a rather nice reduction in my 1st http request after activating page cache – meaning that it’s working…. or what? 🙂

    https://wordpress.org/plugins/w3-total-cache/

The topic ‘mod_deflate issue’ is closed to new replies.