wp-rocket icon indicating copy to clipboard operation
wp-rocket copied to clipboard

Load the RocketCDN iframe only when needed

Open MathieuLamiot opened this issue 6 months ago • 1 comments

Context

The RocketCDN iframe is currently loaded in the background on every admin visits. This adds workload to the server & to wp-rocket.me. It also prevents tracking properly the funnel of the RocketCDN Iframe.

Dependencies

NA

Expected behavior

The iframe should be loaded only when the user wants to see it.

Acceptance Criteria

  • Open WP Rocket settings pages: no calls to the /cdn/iframe must happen.
  • Open the RocketCDN iframe from the plugin: the iframe should show up quickly.

Additional Information

  • If the ACs can be fulfilled, then let's communicate with the Addons team to re-enable tracking on /cdn/iframe pages.
  • If they can't, we will need a follow-up GH issue about tracking clicks on the CTA opening the iframe, in the plugin.

MathieuLamiot avatar Jun 16 '25 10:06 MathieuLamiot

@piotrbak @DahmaniAdame If we want to move forward with other rework of the RocketCDN iframe, this will be needed first, as it is a blocker for data tracking/funnel.

MathieuLamiot avatar Jun 16 '25 10:06 MathieuLamiot

Related TP: https://wpmediaqa.testrail.io/index.php?/runs/view/1061.

hanna-meda avatar Jul 25 '25 07:07 hanna-meda

https://group-onecom.slack.com/archives/C08ECU1RE93/p1753864518827249?thread_ts=1753187599.668509&cid=C08ECU1RE93

Mai-Saad avatar Jul 30 '25 13:07 Mai-Saad