• Resolved janvitos

    (@janvitos)


    Hi,

    So today I updated the AMP plugin from 1.4.4 to 1.5.1. I then noticed in NGINX Amplify a hike in average Request Time from 70ms to 150ms. So I rolled back the plugin to 1.4.4 and the Request Time went back to normal.

    This hike can also be seen when loading an AMP page in a web browser. AMP pages with 1.4.4 load almost instantaneously. With 1.5.1, there is quite a delay when loading the page. Of course, these tests were done with page cache off.

    Thanks.

Viewing 8 replies - 31 through 38 (of 38 total)
  • Plugin Author Weston Ruter

    (@westonruter)

    @janvitos We’ve just published the 1.5.2 release to www.ads-software.com: https://www.ads-software.com/plugins/amp/

    Release notes: https://github.com/ampproject/amp-wp/releases/tag/1.5.2

    This release includes the bump to the 5000 threshold. https://github.com/ampproject/amp-wp/pull/4513

    It also adds the CSS monitoring time series to Site Health debugging info. This will assist with debugging issues related to parsed CSS transient caching getting disabled. https://github.com/ampproject/amp-wp/pull/4519

    I’m still going to be analyzing the transients you provided.

    Thread Starter janvitos

    (@janvitos)

    That sounds great @westonruter.

    I will be installing 1.5.2 soon and I will mark this ticket as resolved.

    Thanks!

    Thread Starter janvitos

    (@janvitos)

    Hi @westonruter, just to let you know, I just noticed that although the threshold was set at 5000, amp_css_transient_caching_disabled was switched to true again.

    After looking at my server monitoring tool, I noticed the request time went back to 160ms once again.

    I have just upgraded to 1.5.2 and will be monitoring closely the request time and the amp_css_transient_caching_disabled variable. But if this keeps on happening, I will definitely have to switch back to 1.4.4.

    • This reply was modified 4 years, 7 months ago by janvitos.
    • This reply was modified 4 years, 7 months ago by janvitos.
    Plugin Author Weston Ruter

    (@westonruter)

    Thanks for the update. Could you do another transient JSON export into that Gist, specifically as a separate file. I want to compare to see the new entries after a day.

    Also, could you go into Site Health and obtain the AMP info as just updated with the CSS monitoring info as seen in https://github.com/ampproject/amp-wp/pull/4519?

    Thread Starter janvitos

    (@janvitos)

    The new transient JSON export has been added to the gist in amp_transients_04032020.txt.

    Here’s the AMP info from Site Health:

    
    ### amp_wp ###
    
    amp_mode_enabled: reader
    amp_templates_enabled: post
    amp_serve_all_templates: This option does not apply to Reader mode.
    amp_css_transient_caching_disabled: false
    amp_css_transient_caching_threshold: 5000 transients per day
    amp_css_transient_caching_sampling_range: 14 days
    amp_css_transient_caching_transient_count: 184
    amp_css_transient_caching_time_series: 
    	20200331: 108
    	20200401: 172
    	20200402: 175
    	20200403: 184
    

    Please note that all of this info (both transient JSON export and AMP from Site Health) was collected AFTER the upgrade to 1.5.2. So amp_css_transient_caching_disabled is now set to false and the request time is back to 60ms.

    • This reply was modified 4 years, 7 months ago by janvitos.
    • This reply was modified 4 years, 7 months ago by janvitos.
    Thread Starter janvitos

    (@janvitos)

    Hi @westonruter,

    Just to let you know, since upgrading to 1.5.2, amp_css_transient_caching_disabled has never returned to true and request time has been around 60ms (normal).

    Plugin Author Weston Ruter

    (@westonruter)

    I haven’t yet had a chance to analyze the transients, but I haven’t prioritized it since you said it hasn’t been an issue. I still want to do it, however.

    But I wanted to inform you that v1.5.3 was just released. It includes a button in the Site Health test to re-enable the CSS transient cache, so you won’t have to do it manually via WP-CLI.

    Plugin Author Weston Ruter

    (@westonruter)

    I looked at the transients and nothing jumped out at me as being a red flag in terms of the CSS selectors being parsed. So if increasing the amp_css_transient_caching_threshold fixed the issue for you, then I think this is resolved!

Viewing 8 replies - 31 through 38 (of 38 total)
  • The topic ‘1.5.1 slow, causes high request time’ is closed to new replies.