dev-master
9999999-devSmartpurge api for limelight control.
Apache-2.0 Apache
The Requires
- php >=5.5
cache cdn sdk purge limelight smartpurge smart purge
Wallogit.com
2017 © Pedro Peláez
Smartpurge api for limelight control.
Limelight Smartpurge is a PHP client using curl to purge limelight cdn (https://www.limelight.com/)., (*2)
# clone from githup git clone https://github.com/michaeldeepak/limelight.git
Change credentials php by adding your account related credentials.php, (*3)
Change the email constants in constants.php, (*4)
<?php
$pattern[] = array(
'pattern' => "http://*.example.com/images/*",
'evict' => false,
'exact' => false,
'incqs' => false
);
See example for a running example of how to use this library., (*5)
| Credential key | Type | Required | Description |
|---|---|---|---|
| LIMELIGHT_SHARED_KEY | String | Yes | Limelight control account username |
| LIMELIGHT_USERNAME | String | Yes | Limelight control account shared key |
| LIMELIGHT_SHORT_NAME | String | Yes | Limelight cdn account name |
| Config key | Type | Required | Description |
|---|---|---|---|
| LIMELIGHT_API_URL | String | Yes | Limelight api url |
| EMAIL_SUBJECT | String | No | Subject of sent mail |
| EMAIL_TO | String | Yes | Email recipient address. A comma is used to separate multiple recipients |
Apache License, (*6)
See LICENSE for details., (*7)
Smartpurge api for limelight control.
Apache-2.0 Apache
cache cdn sdk purge limelight smartpurge smart purge