[Phpcms-v9] cache index caches under the role of each file

Source: Internet
Author: User
[Phpcms-v9] cache directory caches under the role of each file original address: blog. csdn. netyanhui_weiarticledetails7912957 first: cachescaches_commons directory cache file: [html] viewplaincopy1.cachescaches _ commonscaches _ [phpcms-v9] cache directory caches under the role of each file
Address: http://blog.csdn.net/yanhui_wei/article/details/7912957



1. cache files in the caches/caches_commons Directory:

[Html] view plaincopy
1. caches/caches_commons/caches_data/category_content.cache.php:
Site ID corresponding to all columns

2. caches/caches_commons/caches_data/category_content_1.cache.php:
Detailed configuration information for all columns under the current site id

3. caches/caches_commons/caches_data/category_item_1.cache.php:
Data volume under each topic of the current model id (0-indicates no Article 8-indicates there are 8 articles)

4. caches/caches_commons/caches_data/model. cache. php:
Model configuration information: 1-article Model 2-Download Model 3-image model

5. caches/caches_commons/caches_data/sitelist. cache. php:
Configuration information of all sites

6. caches/caches_commons/caches_data/urlrules. cache. php:
All url rewriting rules

7. caches/caches_commons/caches_data/urlrules_detail.cache.php:
Detailed configuration information of all url rewriting rules

8. caches/caches_commons/caches_data/position. cache. php:
Recommended bit configuration

9. caches/caches_commons/caches_data/poster_template_1.cache.php:
Ad Configuration

10. caches/caches_commons/caches_data/vote. cache. php:
Voting configuration

11. caches/caches_commons/caches_data/mood_program.cache.php:
Emoticon configuration



2. cache files in the caches/caches_template Directory:

[Html] view plaincopy
1. caches/caches_template/template style/module name/File: compile file path

For example: phpcms/templates/default/content/index.html homepage public template file (including pc tags)
After compilation
Caches/caches_template/default/content/index. php homepage compilation file



Third: cache files in the caches/configs Directory:

[Html] view plaincopy
1. caches/configs/cache. php: cache configuration. There are two types: file cache and memcache cache.

2. caches/configs/database. php: database configuration information

3. caches/configs/route. php: Default route configuration

The default front-end route is index. php? M = content & c = index & a = init

4. caches/configs/system. php: system variable configuration file



Fourth: cache files under the caches/caches_model Directory

[Html] view plaincopy
1. caches/caches_model/content_form.calss.php: dynamic generation of page forms for adding background content

It is mainly used to obtain the generation of all dynamic forms on the left side of the content add page.

Caches/caches_model/content_input.calss.php: when the background content is added to the page, the submitted form data is verified and filtered.

Caches/caches_model/content_out.calss.php: when the front-end displays the content of the article, verify and filter the content to be displayed.

2. caches/configs_model/model_field_1.cache.php: detailed configuration of model fields in the document

3. caches/configs_model/model_field_2.cache.php: download detailed configuration of model fields

4. caches/configs_model/model_field_3.cache.php: detailed configuration of image model fields

5. caches/configs/system. php: system variable configuration file


Updating...

[Html] view plaincopy
  
  
  
  
  
  
  
  

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.