library kwf-varnish
Varnish Cache Integration for Koala Framework
koala-framework/kwf-varnish
Varnish Cache Integration for Koala Framework
- Thursday, March 8, 2018
- by nsams
- Repository
- 3 Watchers
- 0 Stars
- 425 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 3 Versions
- 2 % Grown
= Varnish Cache Integration for Koala Framework, (*1)
Adds support for Caching asset and media urls thru a varnish cache., (*2)
Those urls will use a different domain (varnish.domain). Proxying the whole page thru varnish is currently not supported., (*3)
== Installation, (*4)
-
add to config.ini:, (*5)
eventSubscribers.varnish = KwfVarnish_Events
clearCacheTypes.varnishAssets = KwfVarnish_ClearCacheTypeAssets, (*6)
-
configure varnish.domain baseProperty:, (*7)
- one cdn domain:
varnish.domain = cdn.example.com
- multi domain web with different cdn domains:
kwc.domains.com.varnish.domain = cdn.example.com