Preventing iframe caching in browser

前端 未结 13 1433
自闭症患者
自闭症患者 2020-11-29 18:03

How do you prevent Firefox and Safari from caching iframe content?

I have a simple webpage with an iframe to a page on a different site. Both the outer page and the

13条回答
  •  旧巷少年郎
    2020-11-29 18:34

    If you want to get really crazy you could implement the page name as a dynamic url that always resolves to the same page, rather than the querystring option?

    Assuming you're in an office, check whether there's any caching going on at a network level. Believe me, it's a possibility. Your IT folks will be able to tell you if there's any network infrastructure around HTTP caching, although since this only happens for the iframe it's unlikely.

提交回复
热议问题