如何使用iframe防止缓存?
我有一个文件tickets.php,其中包含以下代码如何使用iframe防止缓存?,iframe,no-cache,Iframe,No Cache,我有一个文件tickets.php,其中包含以下代码 <meta http-equiv="pragma" content="no-cache"> <meta http-equiv="cache-control" content="no-cache"> <meta http-equiv="expires" content="0"> 通过不
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
通过不使用缓存,页面已正确加载
但是如果我从index.php文件加载这个文件tickets.php,其中tickets.php是通过iframe嵌入的,那么tickets.php上没有任何变化——即使我重新加载页面
iframe有什么问题
<iframe src="tickets.php" id="ticketframe" name="ticketframe" frameborder="0">