bear/fastly-module

Fastly integration for BEAR.Sunday

1.0.0 2024-11-23 11:12 UTC

This package is auto-updated.

Last update: 2024-11-23 11:16:15 UTC


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