- Simple Advanced PHP Caching System
- Version: 1.1
-
- First you need to initialize the class
-
- Now you need to set the directory
-
- Finally you load the file
(string) Set the main directory that will be stored all files
(bool) Enable or disable minify system (HTML, JavaScript and CSS)
(int) Set an expiration time (in seconds) that will be used in caching system
(string) - (string) Used to load files, $name is the file name and $ext is the extension
- Automatically when a file is changed by the developer, it will force the user update the file cached in their browser.