• 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 to see the link]

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    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

    (@haccpmentor)

    Hi

    Here is a screenshot: 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

    (@optimizingmatters)

    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

    (@haccpmentor)

    Hi

    I have now enabled debug logging.

    Thank you for your help.

    Amanda

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    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 to see if we can debug this?

    frank

    Thread Starter haccpmentor

    (@haccpmentor)

    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

    (@optimizingmatters)

    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

    (@haccpmentor)

    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

    (@optimizingmatters)

    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

    (@haccpmentor)

    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

    (@optimizingmatters)

    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

    (@haccpmentor)

    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

    Is it working now?

    • This reply was modified 5 years, 3 months ago by haccpmentor.
    Plugin Author Optimizing Matters

    (@optimizingmatters)

    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.