【发布时间】:2016-02-06 05:32:22
【问题描述】:
我的网站从另一个网站加载 iframe。我想缓存这个 iframe 而不是加载缓存副本。
不幸的是我不能使用 nginx,这就是为什么我很感兴趣如何使用 php / js / ajax / xml 或其他东西来缓存 iframe。
可能是这样的:
- create iframe.php file on server with loading another site iframe
- iframe.php load iframe first time, than cache it
- include iframe.php where I need (but I don't
understand how to save all native header information of another site)
所有这些我需要从另一个网站加载标题信息,但我不能多次这样做,并且需要加载一次而不是为新用户显示缓存。
感谢您的帮助!
【问题讨论】:
标签: javascript php jquery caching iframe