This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Batcache (customized) — WordPress page cache drop-in that simulates a CDN edge. | |
| * | |
| * This is a modified fork of Automattic's Batcache. On top of the usual full-page object-cache | |
| * storage, it layers a "test_mode" that makes the local site behave like a real CDN (Cloudflare, | |
| * Fastly, etc.) so plugin/theme cacheability can be validated end-to-end without deploying | |
| * anywhere. | |
| * | |
| * --------------------------------------------------------------------------- |