• Resolved pran

    (@sarina1)


    I get this recommendation on PSI test – Remove duplicate modules in JavaScript bundles
    and a whole lot of js codes with amp name on it.
    What do I do with them?

    And a Reduce initial server response time for amp url – is this due to redirection of mobile traffic to amp

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter pran

    (@sarina1)

    initial server response time is 2.5 s

    Plugin Support Milind More

    (@milindmore22)

    Hello @sarina1

    Please make sure you are using the latest AMP plugin the v 2.1 brings more optimization that reduces the duplicate module in the javascript bundle you can learn more about it in this issues

    Please share your site URL so we can check its performance on PSI

    The server response time is dependant on three factors mainly.

    1. Server’s application – Contact your hosting provider to improve it
    2. Databases queries – Check slow-performing DB queries with Query Monitor or Newrelic and Optimize them.
    3. Server hardware – Adding more CPU and RAM can improve it.

    you can read more about it this article.

    Thread Starter pran

    (@sarina1)

    But if server is the problem the suggestion is not there for desktop version.
    Is the mobile redirection the problem?

    Plugin Support Milind More

    (@milindmore22)

    Hello @sarina1

    I would suggest checking your caching mechanism make sure it caches mobile pages also if you are using query parameter based structure (?amp or ?amp=1) make sure you cache plugins caches that too eg: WP Super cache has settings that do not cache pages with a query parameter.

    Thread Starter pran

    (@sarina1)

    I am using w3tc (didn’t change any thing in it when amp was activated)- should anything extra be added to it

    Plugin Support Milind More

    (@milindmore22)

    I do see an option in Page Caching “Cache URIs with query string variables”.

    but I will recommend checking with w3tc support as they can advise you better on this one.

    Thread Starter pran

    (@sarina1)

    Ok, what about “Remove duplicate modules in JavaScript bundles” suggestion

    Plugin Support Milind More

    (@milindmore22)

    The issue seems specific to be for the AMP core issue regarding unused JavaScript being reported by Lighthouse. Reporting that issue to the AMP plugin won’t help because it’s an AMP core concern. So you can watch for updates on the core issue you already found: https://github.com/ampproject/amphtml/issues/28638

    Thread Starter pran

    (@sarina1)

    I don’t know if this is good news or bad news ??
    good that it is generally felt and not specific to mine

    Plugin Support Milind More

    (@milindmore22)

    try reducing server response time it will also improve your overall PSI score.

    Plugin Support Milind More

    (@milindmore22)

    As we didn’t receive a response I’ll mark this as resolved. Feel free to open a new support topic if you require any further assistance.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Page speed insights suggestion – remove duplicate modules’ is closed to new replies.