Title: Enable text compression
Last modified: June 23, 2021

---

# Enable text compression

 *  Resolved [rdsouza](https://wordpress.org/support/users/rdsouza/)
 * (@rdsouza)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/enable-text-compression-2/)
 * Hi,
 * Hummingbird Performance Test/PageSpeed/GTMetrix give the below error
 * > Compressing text-based resources such as HTML, CSS, and JavaScript with GZIP
   > shrinks your files, make your site faster, and improve your pages load score
 * **Hummingbird -> Gzip Compression**
    The following is shown:
 * GZip compression is already running smoothly on your site. Your hosting has automatically
   pre-configured GZip compression for you and no further actions are required.
 * HTML, JSJavaScript, CSS are all active
 * **.htaaccess**
    The following is added
 *     ```
       # BEGIN WP-HUMMINGBIRD-CACHING
       # The directives (lines) between "BEGIN WP-HUMMINGBIRD-CACHING" and "END WP-HUMMINGBIRD-CACHING" are
       # dynamically generated, and should only be modified via WordPress filters.
       # Any changes to the directives between these markers will be overwritten.
       <IfModule mod_expires.c>
       ExpiresActive On
       ExpiresDefault A0
   
       <FilesMatch "\.(txt|xml|js)$">
       ExpiresDefault A31536000
       </FilesMatch>
   
       <FilesMatch "\.(css)$">
       ExpiresDefault A31536000
       </FilesMatch>
   
       <FilesMatch "\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav|mp4|m4v|ogg|webm|aac|eot|ttf|otf|woff|woff2|svg)$">
       ExpiresDefault A31536000
       </FilesMatch>
   
       <FilesMatch "\.(jpg|jpeg|png|gif|swf|webp)$">
       ExpiresDefault A31536000
       </FilesMatch>
       </IfModule>
   
       <IfModule mod_headers.c>
         <FilesMatch "\.(txt|xml|js)$">
          Header set Cache-Control "max-age=31536000"
         </FilesMatch>
   
         <FilesMatch "\.(css)$">
          Header set Cache-Control "max-age=31536000"
         </FilesMatch>
   
         <FilesMatch "\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav|mp4|m4v|ogg|webm|aac|eot|ttf|otf|woff|woff2|svg)$">
          Header set Cache-Control "max-age=31536000"
         </FilesMatch>
   
         <FilesMatch "\.(jpg|jpeg|png|gif|swf|webp)$">
          Header set Cache-Control "max-age=31536000"
         </FilesMatch>
       </IfModule>
       # END WP-HUMMINGBIRD-CACHING
       ```
   
 * Please advise. Thank you.
    -  This topic was modified 4 years, 11 months ago by [rdsouza](https://wordpress.org/support/users/rdsouza/).

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Support [Nithin – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport11/)
 * (@wpmudevsupport11)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/enable-text-compression-2/#post-14591593)
 * Hi [@rdsouza](https://wordpress.org/support/users/rdsouza/),
 * If I understood your query, on Hummingbird side its shows up Gzip is enabled 
   but in GTMetrix and Google Page Speed side Gzip isn’t detected?
 * Could you please double-check by clicking the “Re-check status” to ensure Gzip
   is picked or not? You should find the button as shown in the following screenshot
   under **Hummingbird > Gzip Compression** page
 * > [Screenshot at 16:26:04.png](https://imgur.com/hsJBkvI)
 * If even after re-checking it still picks GZip is active, then please do clear
   the cache in Hummingbird and also double-check whether you have any server cache
   enabled by your hosting provider, if enabled, please do clear the cache and re-
   run a new page speed scan to see whether you still face the same or not.
 * If you still face the same issue even after that then a URL to the website would
   be helpful for us to have a better idea regarding what might be causing it.
 * Looking forward to your response.
 * Kind Regards,
    Nithin
 *  Thread Starter [rdsouza](https://wordpress.org/support/users/rdsouza/)
 * (@rdsouza)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/enable-text-compression-2/#post-14591840)
 * Hi,
 * Yes, I am trying to understand if any setting is missed as there is no clear 
   error to say Gzip is not active. I run a Performace test and get [https://imgur.com/a/lXHLum2](https://imgur.com/a/lXHLum2)
 * I can see below under Page Caching
    [https://imgur.com/a/qdoh4ku](https://imgur.com/a/qdoh4ku)
 * I cleared cached and click on Rec-check status and please see below
    [https://imgur.com/d1DOjd6](https://imgur.com/d1DOjd6)
 * Still same issues
 * How can I send URL of the website? Do you have a support email I can reach out
   to?
 * Thank you
    -  This reply was modified 4 years, 11 months ago by [rdsouza](https://wordpress.org/support/users/rdsouza/).
 *  Plugin Support [Patrick – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport12/)
 * (@wpmudevsupport12)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/enable-text-compression-2/#post-14592405)
 * Hi [@rdsouza](https://wordpress.org/support/users/rdsouza/)
 * If you would like to send the link as private.
 * Could you please send me an email to [contact@wpmudev.org](https://wordpress.org/support/topic/enable-text-compression-2/contact@wpmudev.org?output_format=md)
   using this template:
 * > Subject: “Attn: Patrick Freitas”
   > Message: link back to this thread for reference: [https://wordpress.org/support/topic/enable-text-compression-2](https://wordpress.org/support/topic/enable-text-compression-2)
 * Best Regards
    Patrick Freitas
 *  Thread Starter [rdsouza](https://wordpress.org/support/users/rdsouza/)
 * (@rdsouza)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/enable-text-compression-2/#post-14592860)
 * Thank you, I have emailed you.
 *  Thread Starter [rdsouza](https://wordpress.org/support/users/rdsouza/)
 * (@rdsouza)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/enable-text-compression-2/#post-14593820)
 * Awesome support, Thank you.
 * The notification is green now.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Enable text compression’ is closed to new replies.

 * ![](https://ps.w.org/hummingbird-performance/assets/icon-256x256.gif?rev=2633221)
 * [Hummingbird Performance - Cache & Page Speed Optimization for Core Web Vitals | Critical CSS | Minify CSS | Defer CSS Javascript | CDN](https://wordpress.org/plugins/hummingbird-performance/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hummingbird-performance/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hummingbird-performance/)
 * [Active Topics](https://wordpress.org/support/plugin/hummingbird-performance/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hummingbird-performance/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hummingbird-performance/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [rdsouza](https://wordpress.org/support/users/rdsouza/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/enable-text-compression-2/#post-14593820)
 * Status: resolved