Create daily or weekly "cached" option to improve pagespeed performance

We noticed that our site performance score in Pagespeed Insights and other measurement tools is decreased significantly when using the ElfSight All-in-One Reviews widget. When I run the Inspector in Developer Tools as the site loads, I see all of the review platform URLs listed as a Fetch (image below). It would be great if there was an option to just pull a daily or weekly set of data that is cached rather than hitting every site every time the script runs. In other words, end users like me could have a checkbox for real-time (your current setup), daily, or weekly. If daily or weekly were chosen, your site could fetch all of the results at 12am (or whatever) and build the widget that would be displayed for the next 24 hours or 7 days. Then the end-user sites like mine could simply load that pre-created html from a single source (elfsight) rather than having all of those javascripts hit all of those URLs (multiple review sites). That would result in much less decrease of page speed / performance.

3 Likes

Greeting @mitch_wells :wave:

A huge thank you for such a detailed description of your use case!

Much as I’d love to give hope to you, I’m afraid this task is challenging and the chances for its release are quite low. Nevertheless, we will try to think this opportunity over in one of our future updates :slightly_smiling_face:

Many thanks for adding your comment and welcome to Community :heart:

A post was split to a new topic: Cache period