Title: Enable Text Compression
Last modified: November 24, 2019

---

# Enable Text Compression

 *  [haccpmentor](https://wordpress.org/support/users/haccpmentor/)
 * (@haccpmentor)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/enable-text-compression/)
 * Hi
 * I have installed your plugin and the jobs seem to be running fine. What has now
   happened since installing the plugin I see that my Google lighthouse perform 
   score has dropped to red- 13. It was previously at Amber – 62 (Pre-install). 
   I can see that the “Eliminate render-blocking resources’ metric has improved 
   but now the “Enable text compression” metric has failed to be more than 6 seconds.
 * I tested for mobile, simulated Slow 4G, 4x CPU slowdown in Google Chrome.
 * Can you please advise fix?
 * Thanks
    Amanda
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fenable-text-compression%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/enable-text-compression/#post-12170861)
 * hmm … text compression is a webserver configuration setting (gzip/ deflate/ br),
   but that is on actually as per the difference between “size” and “transferred”
   in below image.
 * but whan checking the HTML source I see AO CCSS falls back on inlineing the full
   CSS, which indicates at least for the homepage there is not a matching rule (
   yet). how many rules have been generated up to this point? can you share a screenshot
   of the rules?
 *  Thread Starter [haccpmentor](https://wordpress.org/support/users/haccpmentor/)
 * (@haccpmentor)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/enable-text-compression/#post-12178734)
 * Hi
 * Here is a screenshot: [https://snipboard.io/dp5sfC.jpg](https://snipboard.io/dp5sfC.jpg)
 * None of the auto rules have fired yet (see screen shot) but I have put in some
   manual tools.
 * Thanks
    Amanda
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/enable-text-compression/#post-12179731)
 * looks like the queue processing isn’t getting triggered, can you enable “debug
   logging” under “advanced settings” for me so I can look into that?
 *  Thread Starter [haccpmentor](https://wordpress.org/support/users/haccpmentor/)
 * (@haccpmentor)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/enable-text-compression/#post-12192243)
 * Hi
 * I have now enabled debug logging.
 * Thank you for your help.
 * Amanda
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/enable-text-compression/#post-12194002)
 * OK, 2 things to learn from the queuelog file;
    1. given your manual rules all
   new jobs are “disqualified”, there is not one new job added to the queue since
   this morning. if you want AUTO rules to start appearing, you’ll have to remove(
   some of) your MANUAL rules 2. there is no sign of queue processing starting/ 
   stopping in the logfile, which means that either the queue processing did not
   register successfully in the wordpress scheduler (cron) OR that cron isn’t running
   correctly. can you look at [this FAQ entry](https://wordpress.org/plugins/autoptimize-criticalcss/#i%20only%20see%20%E2%80%9Cn%E2%80%9D%20jobs%20and%20no%20rules%20and%20i%E2%80%99m%20getting%20%E2%80%9Cwordpress%20cron%E2%80%9D-warnings%2C%20what%20should%20i%20do%3F)
   to see if we can debug this?
 * frank
 *  Thread Starter [haccpmentor](https://wordpress.org/support/users/haccpmentor/)
 * (@haccpmentor)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/enable-text-compression/#post-12195515)
 * Hi Frank
 * 1. I have removed all of the manual rules.
    2. I have read the FAQ entry and 
   deactivated the plugin and reactivated. I did contact WP Engine last week and
   they set the Cron to run every 1 minute.
 * The list started to regenerate but has still not fired. I have put it back in
   debug mode for you to check.
 * Thanks
    Amanda
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/enable-text-compression/#post-12195698)
 * Still no sightings of the queue processing job in the queuelog-file I’m afraid:-/
 * Can you (or did you) install the WP Crontrol plugin to check if the `ao_ccss_queue`
   cronjob (event) is listed?
 *  Thread Starter [haccpmentor](https://wordpress.org/support/users/haccpmentor/)
 * (@haccpmentor)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/enable-text-compression/#post-12195954)
 * Hi Frank
 * I installed the plugin but there was no event file listed called ao_ccss_queue.
   These were the only ones listed for ao
 * ao_ccss_servicestatus. – 21 hours
    ao_ccss_maintenance. – 9 hours ago ao_cachechecker–
   6 hours ago
 * Other events are running as required.
 * Thanks
    Amanda
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/enable-text-compression/#post-12196820)
 * Hmm, if `ao_ccss_queue` doesn’t exist it cannot be executed.
 * You could try to create it manually in tools -> “cron events” -> “add cron event”
   but I had one other user where that didn’t work either, due to some kind of corruption
   in the cron tasks or so it seems, and where she eventually deleted the cron-option(
   all cron tasks are stored in a WordPress option) with e.g. `update_option('cron','');`
   after which everything worked.
 *  Thread Starter [haccpmentor](https://wordpress.org/support/users/haccpmentor/)
 * (@haccpmentor)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/enable-text-compression/#post-12199098)
 * Hi
 * Can you please provide further direction on manually creating the ao_ccss_queue?
 * Today I have deleted the plugin completely, cleared the cache and then reinstalled
   it. I still remain with the issue of the events listing but not firing. The ao_ccss_queue
   file is not there.
 * How would the cron tasks get corrupted? From the plugin or elsewhere?
 * Any help or direction in getting this sorted is appreciated as I am at a loss
   on how to fix this issue.
 * Thanks
    Amanda
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/enable-text-compression/#post-12200889)
 * Sure;
 * 1. go to “tools” -> “cron events”
    2. scroll down to the bottom of the page to
   find the “add cron event” 3. set hook name to `ao_ccss_queue` 4. set recurrence
   to 10 minutes (“Autoptimize CriticalCSS.com power-up cron”) 5. click on “add 
   cron event” 6. check if indeed it appears in the list of events when you refresh
   the page
 * frank
 *  Thread Starter [haccpmentor](https://wordpress.org/support/users/haccpmentor/)
 * (@haccpmentor)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/enable-text-compression/#post-12201948)
 * Ok – I set that up. I saw a message at the top of my screen that said:
 * The DISABLE_WP_CRON constant is set to true. WP-Cron spawning is disabled.
 * Should I do anything about this message?
 * I can see the ao_ccss_queue hook in the list with an action of ao_ccss_queue_control()
 * This is what is happening now on the page – See Screen Shot [https://snipboard.io/W3AXxR.jpg](https://snipboard.io/W3AXxR.jpg)
 * Is it working now?
    -  This reply was modified 6 years, 5 months ago by [haccpmentor](https://wordpress.org/support/users/haccpmentor/).
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/enable-text-compression/#post-12203046)
 * indeed looks like it’s working; you’re getting AUTo rules.

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

The topic ‘Enable Text Compression’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/autoptimize-criticalcss.svg)
 * [Autoptimize criticalcss.com power-up](https://wordpress.org/plugins/autoptimize-criticalcss/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize-criticalcss/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize-criticalcss/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize-criticalcss/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize-criticalcss/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize-criticalcss/reviews/)

 * 13 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/enable-text-compression/#post-12203046)
 * Status: not resolved