Plug in Introduction
The FastCache plug-in uses modern PHP cache technology, integrates multiple cache types, and supports mod_rewrite static caching. The cache file is generated when the page is accessed for the first time. The background can set the cache update cycle. When the cache expires, the cache content can be updated again. The background can also set some users not to cache. The effect is better when the mod_rewrite static mode is enabled. It is very suitable for websites with large number of visitors and many interaction modes.
The plug-in usage document has been published: https://www.kancloud.cn/zhouzishu/fastcache-guide
Plug in Features
1. Support multiple cache types: file cache, Memcached, Memcache, Redis, APCu. More cache types will be added later.
2. No matter how many SQL queries are performed, the plug-in is turned on and the code execution speed is basically within 1ms.
3. Support the mod_rewrite static cache, and generate static files directly for the first access after it is enabled, without php processing, and the speed and efficiency are multiplied!
4. You can set no display cache for logged in users or commented users, which is perfectly compatible with any login visibility, reply visibility and user center. You can also easily customize pages that do not need caching!
5. Support mobile theme or dual theme plug-in. The plug-in provides a scheme for this mode, and can be compatible with mobile theme in any mode!
6. It supports user-defined bypass rules, and can set the existence of url keywords, cookies, UA and other caches that are not displayed, and is compatible with any dynamic plug-in.
7. Support user-defined cache clearing rules, which can be set to update the corresponding cache when an article is published/edited/deleted, a single page is published/edited/deleted, or a comment is published/deleted.
8. With the built-in CDN image function, you need to enable the image functions of Qiniu, Youpai and AliCloud OSS, and then use this plug-in to convert static resources into CDN image addresses.
9. Support LazyLoad to delay loading article images, making the speed further!
10. Support dynamic update of browsing volume, even in the case of cache, you can also update browsing volume.
11. Support PHP to expand Opcache cache clearing.
12. Support the export and import of plug-in configuration, avoid the loss of plug-in configuration content when the website database is damaged, and also facilitate sharing configuration information with other friends!
matters needing attention
Please confirm that your host has 777 permissions before use, otherwise the plug-in cannot create cache files (generally servers can reach this permission)
Plug in effect
No matter how many times the query is performed before use, it will be directly reduced to 0 after use (Note: this information will not be displayed at the bottom after enabling the static mod_rewrite)
17ce speed measurement effect (without any cdn)
Plug in Settings
Update log
8.1: Multiple websites available under the same cache database (server)
8.0: Fix a permission problem
7.9: Fix pre cache error
7.8: Fix possible legacy problems in the previous version
7.7: Fix an error reported by showerror
7.6: Fix some possible problems
7.5: Repair a bug
7.4: 1) Fix the problem of dynamic browsing volume
2) Compatible with ZBP 1.7
7.3: 1) Fix problems in PHP 8
7.2: 1) Support HTTPS repair
2) Application Center Update File Tips
7.1: Custom URL Cache Refresh
7.0: Add the "Quick Setting Page Bypass" function to easily customize pages that do not need caching. (New features in Version 7.0, customizing page types that do not need caching, specifying articles that do not need caching, etc.)
6.6: 1) Dynamic browsing volume is compatible with the initial random browsing volume plug-in
2) Fix a problem with pre caching
6.5: 1) Remove the compressed page function (please use PageSpeeder )
2) Add the pre caching function to generate the cache of the home page, category page, and the latest 10 articles.
6.4: CDN image supports setting extension names and directories to be replaced
6.3: 1) Add the function of clearing classification
2) Add API refresh cache function
6.2: Fix the problem of memcache (d) on some hosts
6.1: 1) Add Redis password and database settings
2) Add tag refresh function
6.0: Fix some problems
5.9: 1) Use the em tag for dynamic access
2) Add background homepage refresh cache shortcut
5.8: 1) Fix the problems that may occur during the first startup
2) Add html compression function
5.7: Fix the problem that cache configuration files cannot be generated in some cases
5.6: Add anti attack (anti GET [? Xxx])
5.5: Repair LazyLoad
5.3: Fix the problem of not refreshing the cache after reviewing comments
5.2: Optimize the generation and prompt of config_json.php
5.1: Use PHP CS Fixer specification code
5.0: 1) Support dynamic update of browsing volume
2) Supports clearing Opcache cache
3) Fix the problem that several configuration items in the background cannot be closed and saved
4) Fix some errors at the bottom of the empty cache
5) Optimize background part style
3.6: Update some cache rules and exclude mip component apis
3.5: Fix the problem that the first page of the mip page does not refresh
3.4: Add refresh cache and refresh address cache of mip sub station/mip/page
3.3: Fix the problem that the parent category does not refresh
3.2: Fix some problems of nginx rules
3.1: Fix the bug of clearing cache url error
3.0: Finalization: Fully compatible with the Internet virtual host
2.2: Use a new cache clearing function
2.1: Fix the problem of folder creation error
2.0: Fix the problem of the Hierarchical Host
1.3: Removed some unimportant things-_-
1.2: Fix an incompatibility problem with lower versions of PHP
1.1: Connect to the verification system of the official application center
1.0: Plug in launch