dev-master
9999999-devNeos CMS add support for full page cache with Cloudflare (event the HTML page)
MIT
The Requires
Neos CMS add support for full page cache with Cloudflare (event the HTML page)
This package for Neos CMS add support for full page cache with Cloudflare (event the HTML page), (*1)
This package is under development, any PR or review are welcome., (*2)
created by Dominique Feyer dfeyer@ttree.ch http://www.ttree.ch, (*3)
Currently this package is used in production on our agency website <http://ttree.ch/>
_ agency website. But currently the API is not marked has
stable and can change in the future. Commit message respect the Neos CMS commit message, and breaking change will be
marked with "!!!" on the commit first line., (*4)
By default CF don't cache your HTML page, but only the assets like image, javascript, ..., (*5)
You can change this default, by using the "Page Rules". Those page rules assume, that you use the ".html" suffix for your page, and that you use Neos. Those rules must be adapted to your own needs, some dynamic pages of your website needs maybe a different caching rules., (*6)
Those rules, are juste here as an example., (*7)
You need to install the package with composer and configure your settings::, (*8)
Ttree: Cloudflare: default: zone: 'need-to-be-configured' apiKey: 'need-to-be-configured' email: 'api@domain.com' 'domain_com': zone: 'domain.com' apiKey: 'need-to-be-configured' email: 'api@domain.com'
You can use multiple CF account if needed., (*9)
Warning: The key (domain_com), must be the CF zone name with "." replaced by "_"., (*10)
The cache is generated by a TypoScript2 object, you simply use it in your Site TS2::, (*11)
include: resource://Ttree.Cloudflare/Private/TypoScripts/Library/NodeTypes.ts2 page = Page { [all your page configuration here] cache = Ttree.Cloudflare:Cache { @position = 'end' enable = TRUE zone = 'domain.com' } }
With a proper configuration, you will be hanble to handle a lots of load without killing your server. Keep your CPU time to support your contributors., (*12)
Development sponsored by ttree ltd - neos solution provider., (*13)
We try our best to craft this package with a lots of love, we are open to sponsoring, support request, ... just contact us., (*14)
The MIT License (MIT). Please see LICENSE for more information., (*15)
Neos CMS add support for full page cache with Cloudflare (event the HTML page)
MIT