求thinkphp数据缓存、静态缓存和查询缓存区别。微信浏览器保存openid可以用缓存来替代session cookie吗

WBOY
Release: 2016-06-06 20:10:53
Original
1311 people have browsed it

求thinkphp数据缓存、静态缓存和查询缓存区别。微信浏览器保存openid可以用缓存来替代session cookie吗

回复内容:

求thinkphp数据缓存、静态缓存和查询缓存区别。微信浏览器保存openid可以用缓存来替代session cookie吗

thinkphp 把缓存方式可以支持File、Apachenote、Apc、Eaccelerator、Memcache、Shmop、Sqlite、Db、Redis和Xcache
数据缓存 是把程序运行过程中产生的数据缓存起来,
静态缓存 是把contoller 生成的页面缓存起来,
查询缓存 是把 sql语句的查询结果缓存起来

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template