hdnet / cdn-fastly
Extension for handling TYPO3 requests for better CDN integration in fastly.
Installs: 1 290
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 9
Forks: 1
Open Issues: 0
Type:typo3-cms-extension
Requires
- php: ^7.2||^7.3||^7.4||^8.0||8.1
- typo3/cms-backend: ^11.5
- typo3/cms-core: ^11.5
- typo3/cms-extbase: ^11.5
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.1
- nimut/testing-framework: ^6.0
- typo3/coding-standards: ^0.5.2
This package is auto-updated.
Last update: 2024-10-23 18:09:55 UTC
README
Extension for handling TYPO3 requests for better CDN integration in fastly.
Installation
Run composer require hdnet/cdn-fastly
in your project root.
It will automatically install the extension and all its dependencies.
Development
- 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
Configuration
- 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