Home >Backend Development >PHP Tutorial >thinkPHP caching mechanism
Think about the S() method in PHP. The cache type is file. When setting cache data, which folder in the project is the cache file saved in?
Think about the S() method in PHP. The cache type is file. When setting cache data, which folder in the project is the cache file saved in?
It’s all under Runtime/Data...
Cache files in the Runtime directory:
1. Cache front-end page cache
2. Data is database field cache
3. Temp is data cache, such as session data