Select to view content in your preferred language

Any suggestions for cache busting iFrames

739
1
06-10-2019 09:43 AM
Trippetoe
Frequent Contributor

We use a ton of iFrames on our Hub pages. We create all our charts, graphs, etc in standalone html pages and then display them on Hub pages via the iFrames.  We are regularly making changes to the html pages, e.g. colors used in bar charts, tooltip content, etc, and its a bit of a pain to get the revised html pages to display in the iFrame. 

Within the standalone html pages we are using the standard cache-busting 'meta-tags', but they don't seem to have any impact on the 'parent' Hub page that is hosting the iFrame.  The Hub page always seems to load a cached version of the html page.

<meta http-equiv='Pragma' content='no-cache'>
<meta http-equiv='Expires' content='0'>
<meta http-equiv='Cache-Control' content='no-cache'>

Any thoughts or suggestions on ways to have the Hub pages force-ably load the edited html pages into the iFrames rather that used cached versions of the files?

Tags (3)
0 Kudos
1 Reply
TimothyRudzik
Occasional Contributor

Were you ever able to resolve this? I am building a similar solution and have the same issue with my html content in iFrames.

 

RR

0 Kudos