Join the Webstudio community

Updated 2 months ago

Headless WordPress performance issues: Potential causes

At a glance

The community member published a headless WordPress site, but it is loading slowly. The comments suggest several possible reasons, such as fetching unnecessary data, loading too much data, and having too many requests. The community members recommend checking the API endpoint, inspecting the network tab, removing unnecessary resources, and reducing the number of requests. However, there is no explicitly marked answer in the comments.

Useful resources
I published a headless WordPress and it is freaking slow to load. What could be the possible reasons?
O
J
i
9 comments
slow wordpress, fetching unnecessary data
make a curl request to that api endpoint and see how fast that is
also open inspect and see how much data you are loading, if not sure dump it into a file or open network tab and see if you are not loading hundreds of kilobytes or megabytes accidentally
I have seen people accidentally load megabytes and then wondering whats wrong
additionally, tryto remove the resource and see if its actually the reason
if nothing helps we can look into it tomorrow
also reduce the requests to ideally 1
Attachment
image.png
It is freaking slow https://gogreenhaulerzwa.com/. It breaks the purpose of converting it to headless to improve speed and reduce bloated WP plugins, but the site loading time was super slow.
Add a reply
Sign up and join the conversation on Discord