Home  >  Article  >  CMS Tutorial  >  Where to delete dedecms template cache

Where to delete dedecms template cache

尚
Original
2019-07-18 13:45:146002browse

Where to delete dedecms template cache

After modifying the Dreamweaver website template, we often encounter that the template is modified but the front desk does not take effect; or sometimes the title of the website is displayed as the system default after the website is moved. My website, the website name is set in the background, and the template call tag is correct; after the above two problems occur, we can solve it by clearing the template cache that comes with dedecms.

The template cache files are stored in the root directory /data/tplcache/ folder. Before clearing, you can see a total of 132 files in the /data/tplcache/ folder.

Where to delete dedecms template cache

The template cache at this time has a total of 132 files. Now we will clear the template cache. Enter the background->System->Virus Scan-> ;Clear template cache.

Where to delete dedecms template cache

After clicking the Clear Template Cache button, we will see a successful prompt "Clear Template Cache Successfully!" below the button.

Where to delete dedecms template cache

After clearing the template cache, we go back to the root directory /data/tplcache/ folder and take a look. We can see that there is only one default folder in this folder. Home index.html file.

Where to delete dedecms template cache

At this point, our Dream Weaver website template cache has been cleared and processed. When we return to the website front desk, we can see that our website front desk display is normal.

If you find it troublesome to enter the background to clear the template cache, you can directly log in to FTP, enter the root directory /data/tplcache file and delete all the files , of course, you can also Do not delete all but leave the default index.html file.

For more technical articles related to DedeCMS, please visit the DedeCMS Tutorial column to learn!

The above is the detailed content of Where to delete dedecms template cache. For more information, please follow other related articles on the PHP Chinese website!

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