Home  >  Article  >  Backend Development  >  【phpcms-v9】缓存索引caches下的各个文件的作用

【phpcms-v9】缓存索引caches下的各个文件的作用

WBOY
WBOYOriginal
2016-06-13 12:11:221184browse

【phpcms-v9】缓存目录caches下的各个文件的作用
原文地址:http://blog.csdn.net/yanhui_wei/article/details/7912957



第一:caches/caches_commons目录下缓存文件:

[html] view plaincopy
1.caches/caches_commons/caches_data/category_content.cache.php: 
    所有栏目对应的站点ID 
 
2.caches/caches_commons/caches_data/category_content_1.cache.php: 
    当前站点id下所有栏目的详细配置信息 
 
3.caches/caches_commons/caches_data/category_item_1.cache.php: 
    当前模型id下 各栏目下的数据量(0-代表没有文章  8-代表有8篇文章) 
 
4.caches/caches_commons/caches_data/model.cache.php: 
     模型的配置信息:1-文章模型 2-下载模型 3-图片模型 
 
5.caches/caches_commons/caches_data/sitelist.cache.php: 
     所有站点的配置信息 
 
6.caches/caches_commons/caches_data/urlrules.cache.php: 
     所有的url重写规则 
 
7.caches/caches_commons/caches_data/urlrules_detail.cache.php: 
     所有的url重写规则详细配置信息 
 
8.caches/caches_commons/caches_data/position.cache.php: 
   推荐位的配置 
 
9.caches/caches_commons/caches_data/poster_template_1.cache.php: 
    广告的配置 
 
10.caches/caches_commons/caches_data/vote.cache.php: 
    投票的配置 
 
11.caches/caches_commons/caches_data/mood_program.cache.php: 
    表情的配置 



第二:caches/caches_template目录下缓存文件:

[html] view plaincopy
1.caches/caches_template/模版风格/模块名/文件:编译文件路径 
 
   如:phpcms/templates/default/content/index.html 首页公共模板文件(含pc标签) 
          经过编译后放到了 
          caches/caches_template/default/content/index.php  首页编译文件 



第三:caches/configs目录下缓存文件:

[html] view plaincopy
1.caches/configs/cache.php:  缓存配置,分两种:文件缓存和memcache缓存 
 
2.caches/configs/database.php: 数据库配置信息 
 
3.caches/configs/route.php:默认路由配置 
 
   前台默认的路由是:index.php?m=content&c=index&a=init 
 
4.caches/configs/system.php:系统变量配置文件 



第四:caches/caches_model目录下缓存文件

[html] view plaincopy
1.caches/caches_model/content_form.calss.php:后台内容添加页表单的动态生成 
 
   主要用来获取内容添加页左侧所有动态表单的生成 
 
caches/caches_model/content_input.calss.php:后台内容添加页添加文章内容时,对提交的表单数据进行验证和过滤 
  
caches/caches_model/content_out.calss.php:前台显示文章内容时,对要显示的内容进行验证和过滤 
 
2.caches/configs_model/model_field_1.cache.php:文章模型字段的详细配置 
 
3.caches/configs_model/model_field_2.cache.php:下载模型字段的详细配置 
 
4.caches/configs_model/model_field_3.cache.php:图片模型字段的详细配置 
 
5.caches/configs/system.php:系统变量配置文件 


逐步更新中。。。

[html] view plaincopy

<pre class="brush:php;toolbar:false">
 
<pre class="brush:php;toolbar:false"> 
<pre class="brush:php;toolbar:false"> 
<pre class="brush:php;toolbar:false"> 
<pre class="brush:php;toolbar:false"> 
<pre class="brush:php;toolbar:false"> 
<pre class="brush:php;toolbar:false"> 
<pre class="brush:php;toolbar:false"> 
 
 
Statement:
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