Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我一直困扰着所有浏览器都无法重新解析通过 java-script 生成的某些标记语言。所以想法是测试获取对包含的元素(在我的情况下为 div)的缓存的引用标记并通过javascript以编程方式清除它。有可能吗?
有一种非常优雅的方法可以做到这一点。Ajax 在缓存网页时派上用场。只需缓存整个页面并为您不想缓存的部分发送 AJAX 请求。