bear / fastly-module
Fastly integration for BEAR.Sunday
Installs: 47 899
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: ^8.0
- fastly/fastly: ^1.0 || ^2.0 || ^3.0 || ^4.0 || ^5.0
- guzzlehttp/guzzle: ^7.5
- ray/di: ^2.13.1
Requires (Dev)
- bamarni/composer-bin-plugin: ^1.4
- phpunit/phpunit: ^9.5.19
README
There are only two hard things in Computer Science: cache invalidation and naming things.
– Phil Karlton
Fastly CDN integration module for BEAR.Sunday
Example
use BEAR\FastlyModule\FastlyEnableSoftPurgeModule; use BEAR\FastlyModule\FastlyPurgeModule; // Set API key and service ID $this->install(new FastlyPurgeModule( $fastlyApiKey, $fastlyServiceId )); // Enable soft purge $this->install(new FastlyEnableSoftPurgeModule());
See more at https://bearsunday.github.io/manuals/1.0/ja/cache.html