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

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

[html]  view plain  copy
 print ?
  1. 1.caches/caches_commons/caches_data/category_content.cache.php:  
  2.     所有栏目对应的站点ID  
  3.   
  4. 2.caches/caches_commons/caches_data/category_content_1.cache.php:  
  5.     当前站点id下所有栏目的详细配置信息  
  6.   
  7. 3.caches/caches_commons/caches_data/category_item_1.cache.php:  
  8.     当前模型id下 各栏目下的数据量(0-代表没有文章  8-代表有8篇文章)  
  9.   
  10. 4.caches/caches_commons/caches_data/model.cache.php:  
  11.      模型的配置信息:1-文章模型 2-下载模型 3-图片模型  
  12.   
  13. 5.caches/caches_commons/caches_data/sitelist.cache.php:  
  14.      所有站点的配置信息  
  15.   
  16. 6.caches/caches_commons/caches_data/urlrules.cache.php:  
  17.      所有的url重写规则  
  18.   
  19. 7.caches/caches_commons/caches_data/urlrules_detail.cache.php:  
  20.      所有的url重写规则详细配置信息  
  21.   
  22. 8.caches/caches_commons/caches_data/position.cache.php:  
  23.    推荐位的配置  
  24.   
  25. 9.caches/caches_commons/caches_data/poster_template_1.cache.php:  
  26.     广告的配置  
  27.   
  28. 10.caches/caches_commons/caches_data/vote.cache.php:  
  29.     投票的配置  
  30.   
  31. 11.caches/caches_commons/caches_data/mood_program.cache.php:  
  32.     表情的配置  



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


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



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

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



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


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


逐步更新中。。。


[html]  view plain  copy
 print ?
  1. <pre name="code" class="html"><pre></pre>  
  2. <pre></pre>  
  3. <pre></pre>  
  4. <pre></pre>  
  5. <pre></pre>  
  6. <pre></pre>  
  7. <pre></pre>  
  8. <pre></pre>  
  9.      
  10. </pre>  
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值