Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 602 Bytes

README.md

File metadata and controls

16 lines (10 loc) · 602 Bytes

= 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