实际上会重新加载页面或资源,而忽略缓存中可能存在的内容。
Safari总是重新加载(ctrl + r)页面ignoring whatever that might be in the cache。
正如雅典娜所指出的,iframe被缓存。实际上,不是iframe内容,而是缓存的request。
在这种情况下,Safari会页,然后无论哪个链接您点击后,从刷新前最后点击(或后退前进)。然后卡在那内容,并显示所有链接。
这可以通过分配a different iframe id on each load来解决:
iframe.id =新的Date()。getTime();