How to enable and clear the cache using codeigniter
This article describes how to enable and clear the cache of codeigniter. depending on the webpage cache, the webpage can load almost static webpages because the results output by the program are saved to the hard disk. Codeigniter: How to enable and clear cache recipients Codeigniter supports the caching technology to achieve the fastest speed. Although ci has been quite efficient, factors such as the dynamic content in the webpage, the memory cpu of the host, and the read speed of the database directly affect the loading speed of the webpage. Depending on the webpage cache, the webpage can load almost static webpages because the results output by the program are saved to the hard disk. How does cache work? CI supports separate cache for each page and allows you to set the cache update time. When a webpage is loaded for the first time, the cached file is saved to the application/cache folder. Next time, the system will directly read the cached file and return it to the user's browser. If the cached file expires, it will be deleted and regenerated. |