Thread Starter
pran
(@sarina1)
initial server response time is 2.5 s
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.
-
Server’s application – Contact your hosting provider to improve it
-
Databases queries – Check slow-performing DB queries with Query Monitor or Newrelic and Optimize them.
-
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?
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
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
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
try reducing server response time it will also improve your overall PSI score.
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.