Ecommerce Shopify WordPress Discussion

More efficient way to embed a .html file on wordpress than Iframe?

I have several, quite large html files. Each file represents a map created with python/ folium. Each of these files is automatically generated every 48 hours (due to some API authentification renewals), and also uploaded automatically to my wordpress media every 48 hours. I want to display these maps on my site, currently I am using Iframe like this: <div class="container"> <iframe src="" frameborder="0" allowfullscreen class="map"></iframe> </div> It all works perfectly, however, due to the map/ file sizes (~20 - 30 Mb), the loading time is quite high. I was wondering, if there is a more efficient way to embed the files. I tried to solve the problem using Caches, but it was not really satisfying. The creation of the Cache caused an even longer loading time for first-time-visitors, which is currently nearly everyone. Due to the re-creation of the maps every 48 hours it is not a solution for me to embed the html code directly and I cannot reduce the file sizes.
TurboCommerce make the better internet purchasing globaly

Turbo Multi-language Translator

Make the better internet purchasing globaly

Turbosify SEO Speed Booster

5.0 (7) Free plan available
Get better conversions by improving store loading speed Installed

Turbo Multi-language Chat - AI Customer service in one hand

TurboCommerce make the better internet purchasing globaly
Our products

The help you need, when you need it

App by Turbo Engine

3 apps • 5.0 average rating

Turbosify Speed Booster

5.0 (7)
Get better conversions by optimizing shopify store Google page speed Installed

Turbosify Translator for Wordpress Woocommerce

5.0 (74) Free Wordpress Woocommerce Plugin
Translate your wordpress website to multiple language within 1 click, no configuration needed, no No technical required

Grow your business here

Whether you want to sell products down the street or around the world, we have all the tools you need.