Extension for handling TYPO3 requests for better CDN integration in fastly.
Run composer require hdnet/cdn-fastly
in your project root.
It will automatically install the extension and all its dependencies.
- Clone repository
git clone git@github.com:HDNET/cdn_fastly.git
- Install dependencies
composer install
- Run tests
composer test
- Or use the Dockerfile instead e.g.
docker run -u $(id -u):$(id -g) -v $(pwd):/app -w /app --rm -it $(docker build -q -f Resources/Private/Build/Dockerfile .) sh
- Install the extension (Documentation)
- Include the static TypoScript of the extension
- traditional syntax:
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:cdn_fastly/Configuration/TypoScript/setup.typoscript">
- modern syntax:
@import 'EXT:cdn_fastly/Configuration/TypoScript/setup.typoscript
- traditional syntax:
- Set the following TypoScript variables via constant editor in the TYPO3 Template module
- plugin.tx_cdnfastly.settings.fastly.apiKey
- plugin.tx_cdnfastly.settings.fastly.serviceId