Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/devside/varnish
Varnish module for Kohana 3
https://github.com/devside/varnish
Last synced: 24 days ago
JSON representation
Varnish module for Kohana 3
- Host: GitHub
- URL: https://github.com/devside/varnish
- Owner: DevSide
- Created: 2014-03-07T10:10:20.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-03-07T10:18:33.000Z (over 10 years ago)
- Last Synced: 2023-08-17T12:17:45.988Z (about 1 year ago)
- Language: PHP
- Size: 125 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#Varnish module for Kohana 3
This module allows you to send a special HTTP request to Varnish.
---##Requirements
* PHP Curl extension
* You should have configured Varnish to purge an url##Usage
```php
// Single
Varnish::instance()->purge(URL::site('/page/to/purge'));// Multi
Varnish::instance()->purgeAll(array(
URL::site('/page/to/purge'),
URL::site('/page/to/purge')
);
```