Performance and use of wp_remote_get in classes/controller/front.php
-
I’ve been doing some debugging for my client who uses your plugin and pays for your service. Pages which do not include [rid-view id=”######”] would deliver the first byte in 300ms but including your shortcode would cause the page to take 4 times longer for the first byte. Replacing your shortcode with the div & iframe code spit out by https://www.riddle.com/apiv3/embed/build?id=#####6&mode=dynamic results in the page loading in 300ms as expected.
Is it possible to replace the use of wp_remote_get in classes/controller/front.php with simply outputting your iframe?
Or is it possible to load the results of https://www.riddle.com/apiv3/embed/build?id=#####6&mode=dynamic via an Ajax call instead of doing that in PHP?
- The topic ‘Performance and use of wp_remote_get in classes/controller/front.php’ is closed to new replies.