Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.68 KB

README.md

File metadata and controls

41 lines (28 loc) · 1.68 KB

EXT:cdn_fastly

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 [email protected]: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
  • 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

Fastly

TYPO3

PSR Information