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.
我正在为某些 URL 使用 Zend 的整页缓存。有没有办法以编程方式清除某个 URL 的页面缓存......(当 URL 的内容被修改时)
在更新某个 URL 上显示的数据的方法上,您必须调用清理方法。例如,如果您在缓存中保存了 URL“/dog”,并使用该 id (“/log”) 保存,则当此页面的数据发生更改时,您必须执行:
$cache->remove('/dog');
我喜欢这个:http ://devzone.zend.com/article/4457