netlogix/esi-rendering

Last activity 23 May 2022 10304
composer require netlogix/esi-rendering

Render content in fusion as esi:include

1.2.1

Version
1.2.1
Type
neos-package
Release Date
Jun 15, 2021 16:13
Source
git
Distribution
zip
Requires
  • neos/neos: ^5.3
Suggest
  • flowpack/varnish: For Varnish support including caching ESIs individually with their own lifetime
MIT
  • #esi
  • #varnish
  • #neos
  • #nginx
fea65504f0f3dcaccf3395d34eb94ba9db5c5c74

Readme excerpt

Netlogix.EsiRendering

This package provides a simple way to render edge side includes in Neos. This alows you to individually cache parts of the page (e.g. header/footer).

We recommend using this package together with flowpack/varnish for Varnish integration.

Install package

composer require netlogix/esi-rendering

Usage

To render a fusion path as ESI, you can use the Netlogix.EsiRendering:RenderAsEsi Fusion implementation:

renderer = afx` <p>This is rendered outside of the esi</p> <Netlogix.EsiRendering:RenderAsEsi node={props.site} cacheIdentifier="my-esi"> <p>This is rendered inside of the esi</p> …
Read more
The content of the readme is provided by an external source, which we have no control over. Check out the actual readme at its source.
The same vendor provides 29 package(s).