Download the PHP package yurikzt/html-cache-page-bundle without Composer
On this page you can find all versions of the php package yurikzt/html-cache-page-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download yurikzt/html-cache-page-bundle
More information about yurikzt/html-cache-page-bundle
Files in yurikzt/html-cache-page-bundle
Download yurikzt/html-cache-page-bundle
More information about yurikzt/html-cache-page-bundle
Files in yurikzt/html-cache-page-bundle
Vendor yurikzt
Package html-cache-page-bundle
Short Description Symfony bundle for caching HTML pages to files
License MIT
Package html-cache-page-bundle
Short Description Symfony bundle for caching HTML pages to files
License MIT
Please rate this library. Is it a good library?
Informations about the package html-cache-page-bundle
HtmlCachePageBundle
Symfony bundle for caching HTML, JSON, and XML responses as static files. Supports flexible rule-based configuration, auto-cleaning, and CLI tools.
📦 Installation
⚙️ Configuration
After installation, create a config file: config/packages/html_cache_page.yaml
🚀 Usage
Automatic Caching
All HTTP 200 responses that match the cache rules will be saved as files.
Clearing Cache Programmatically
Console Commands
🗂 Cache File Structure
/blog/post-1→public/cache/blog/post-1/index.html/→public/cache/index.html/api/products/1.json→public/cache/api/products/1.json- Metadata:
.metafile alongside each cache file.
🧠 Rule Options
Pattern Types
- Wildcard:
/blog/* - Regex:
#^/product/\d+$#
Query Parameters
📥 HTTP Headers
Bundle adds a header: X-Cache-Status: HIT|MISS
📁 Web Server Configuration
✅ Nginx
✅ Apache
✅ Requirements
- PHP 8.1+
- Symfony 6.0+
📄 License
MIT
All versions of html-cache-page-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1
symfony/framework-bundle Version ^6.0|^7.0
symfony/http-kernel Version ^6.0|^7.0
symfony/dependency-injection Version ^6.0|^7.0
symfony/config Version ^6.0|^7.0
symfony/filesystem Version ^6.0|^7.0
symfony/finder Version ^6.0|^7.0
psr/log Version ^1.0|^2.0|^3.0
symfony/framework-bundle Version ^6.0|^7.0
symfony/http-kernel Version ^6.0|^7.0
symfony/dependency-injection Version ^6.0|^7.0
symfony/config Version ^6.0|^7.0
symfony/filesystem Version ^6.0|^7.0
symfony/finder Version ^6.0|^7.0
psr/log Version ^1.0|^2.0|^3.0
The package yurikzt/html-cache-page-bundle contains the following files
Loading the files please wait ...