The problem of encryption means in PHP

recently, there is a demand, so I have made a source code. I don"t understand PHP myself.

my own requirement is to try to change the template engine (twig) to achieve the purpose of partial modification of the front end. But it turns out he seems to have used a means of isolation. Let"s start with the basic directory structure

clipboard.png

,views,cache/prodhash

clipboard.png
only by modifying the contents of this will the page be modified. So, is this an encryption method or a common caching mechanism? if it is a caching mechanism, how can I force refresh and generate it again?

Php
Mar.10,2021

see the familiar code, which I helped develop.
usually we divide into development mode and production mode
production mode, that is, running cache files
development mode, and immediate modification takes effect immediately. There are two entry files, app.php (production mode) and app_dev.php (development mode), under the web directory.

for local development, it is recommended to configure the entry to app_dev.php, so that modifying views will take effect
online deployment. Delete the cache directory directly, and it will regenerate the cache directory. Pay attention to permissions

related tutorials: http://www.qiqiuyu.com/

it's based on symfony, so you can learn about

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e3f0d8-432df.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e3f0d8-432df.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?