• YouTech

    (@youtechians)


    Hello AMPForWP,

    I hope this message finds you well. I am reaching out to you today regarding an issue I have encountered with your plugin on my website. Specifically, the AMP pages generated by your plugin are loading significantly slower than their non-AMP counterparts.

    To provide you with more details, here are the URLs for comparison:

    AMP URL: [https://youtech.ooo/infp-anime-characters/?amp]
    Non-AMP URL: [https://youtech.ooo/infp-anime-characters/]

    When testing the page speed using Google Pagespeed Insights, the non-AMP version received an impressive score of 98. However, the AMP version only managed to achieve a score of 57, which is quite concerning. Additionally, the server response time for the AMP version exceeded 5 seconds, further contributing to the sluggish loading performance.

    Given the importance of having fast-loading pages for a smooth user experience and improved search engine rankings, this disparity between the AMP and non-AMP versions is a significant concern for me. I understand that AMP is designed to enhance page speed and mobile performance, but in this case, it seems to be having the opposite effect.

    I would greatly appreciate it if you could look into this matter and provide any insights or solutions that could help improve the loading speed of the AMP pages generated by your plugin. Is there any configuration or optimization that I might have missed? Are there any known issues or conflicts that could be causing this slowdown?

    Please let me know if you require any additional information from my end, such as server logs or plugin settings. I am committed to resolving this issue and ensuring the best possible user experience for my visitors.

    Thank you for your attention to this matter, and I look forward to hearing from you soon.

    Best regards,
    Abhi

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Hi, Sorry for the inconvenience. Can you please kindly let us know, The Issue persists after the specific update or did you make any changes anything recently?

    Thread Starter YouTech

    (@youtechians)

    I wouldn’t say after the update this happens as the site was too fast but from last month it start becoming slow; however, non-amp is still fast. Also, I able to figure out what is the issue

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Hi, if possible, Kindly please check once by a rollback to the previous version one by one on your site and let us know back if you find out from which version it is happening. So that we will analyze the same scenario on our end and assist you to fix the issue immediately.

    Thread Starter YouTech

    (@youtechians)

    Already did then again update the plugin however i saw error on nginx error log regarding ampfor-wp-rocket-compatibility; below i had given the error log. I think cache aren’t served by wp-rocket but before may be served that’s why i saw difference in speed.

    2023/06/07 18:21:34 [error] 84413#84413: *110717 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught ValueError: DOMDocument::loadHTML(): Argument #1 ($source) must not be empty in /var/www/youtech.ooo/wp-content/plugins/accelerated-mobile-pages/templates/features.php:9321
    Stack trace:

    0 /var/www/youtech.ooo/wp-content/plugins/accelerated-mobile-pages/templates/features.php(9321): DOMDocument->loadHTML()

    1 /var/www/youtech.ooo/wp-includes/class-wp-hook.php(308): ampforwp_wp_rocket_compatibility()

    2 /var/www/youtech.ooo/wp-includes/plugin.php(205): WP_Hook->apply_filters()

    3 /var/www/youtech.ooo/wp-content/plugins/accelerated-mobile-pages/includes/features/functions.php(314): apply_filters()

    4 [internal function]: ampforwp_the_content_filter_full()

    5 /var/www/youtech.ooo/wp-includes/functions.php(5309): ob_end_flush()

    6 /var/www/youtech.ooo/wp-includes/class-wp-hook.php(308): wp_ob_end_flush_all()

    7 /var/www/youtech.ooo/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()

    8 /var/www/youtech.ooo/wp-includes/plugin.php(517): WP_Hook->do_action” while reading response header from upstream, client: IP, server: youtech.ooo, request: “GET /any_post/?amp HTTP/2.0″, upstream: “fastcgi://unix:/var/run/php/php8.2-fpm.sock:”, host: “youtech.ooo”, referrer: “https://www.google.com/”

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Hi, Can you please share with us the list of active plugins and theme which you are using at your end and along with the configurations of AMPforWP and the PHP versions, So that we will check the scenario on our end by reproducing the issue and assist you to fix the issue ASAP!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Amp page load slower than the non-amp page’ is closed to new replies.