koala-framework / kwf-varnish
Varnish Cache Integration for Koala Framework
Installs: 2 206
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 5
Forks: 0
Open Issues: 0
Requires
- koala-framework/koala-framework: ~4.2 || ~5.0
This package is auto-updated.
Last update: 2024-12-17 08:29:45 UTC
README
= Varnish Cache Integration for Koala Framework
Adds support for Caching asset and media urls thru a varnish cache.
Those urls will use a different domain (varnish.domain). Proxying the whole page thru varnish is currently not supported.
== Installation
-
add to config.ini:
eventSubscribers.varnish = KwfVarnish_Events
clearCacheTypes.varnishAssets = KwfVarnish_ClearCacheTypeAssets
-
configure varnish.domain baseProperty:
- one cdn domain:
varnish.domain = cdn.example.com
- multi domain web with different cdn domains:
kwc.domains.com.varnish.domain = cdn.example.com
- one cdn domain: