AMP plugin causing high database load
-
According to my server host this plugin is using a lot of dbase resources. Like, a LOT.
I am using New Relic and the wp_posts select is by far the most time consuming resource in the dbase, by a factor of 20X above the next highest usage resource.
My host looked into it and said the following:
“It appears that the wp_posts selects that you mentioned are in fact a major contributor to your poor database performance. The main driver behind these queries is the amp plugin.”
It looks like there is an issue with the cache settings, causing it to bypass the cache and execute PHP every time? Here is an example page:
curl -I https://gamerant.com/far-cry-5-it-easter-egg-stephen-king/amp/
HTTP/1.1 200 OK
Date: Fri, 31 Aug 2018 15:06:59 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Set-Cookie: __cfduid=d6e130d3b7ec0adb615b02f541ea7233f1535728019; expires=Sat, 31-Aug-19 15:06:59 GMT; path=/; domain=.gamerant.com; HttpOnly
Cache-Control: max-age=0, must-revalidate, no-cache, no-storeI need some help with this, please.
Thanks
- The topic ‘AMP plugin causing high database load’ is closed to new replies.