Any suggestions for cache busting iFrames

585
0
06-10-2019 09:43 AM
Trippetoe
Occasional Contributor III

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
0 Replies