An open API service indexing awesome lists of open source software.

https://github.com/luigifab/openmage-turpentine-varnish

Updated version of Varnish connector for OpenMage.
https://github.com/luigifab/openmage-turpentine-varnish

experimental magento magento-module open-source openmage openmage-module php7 php8 varnish

Last synced: about 2 months ago
JSON representation

Updated version of Varnish connector for OpenMage.

Awesome Lists containing this project

README

        

# turpentine-varnish

This is a fork. Work in progress.

To install, run: `composer require "luigifab/openmage-turpentine-varnish":"dev-devel"`

Some new features:
- compatible with blackfire
- varnish will close the connexion when url is unknown (444)
- you can now flush blocks from backend (with post requests)
- you can now flush public blocks with events

For public events (be careful if you have an observer on predispatch events):
```xml
# layout


public_events
page




```
```php
# from frontend or backend
if (Mage::app()->useCache('turpentine_pages') || Mage::app()->useCache('turpentine_esi_blocks'))
Mage::dispatchEvent('my_event_allsessions');
```

- For: Varnish 4.x / 5.x / 6.x / 7.x
- Compatibility: OpenMage 19.x / 20.x / 21.x, PHP 7.2 / 7.3 / 7.4 / 8.0 / 8.1 / 8.2 / 8.3?
- License: GNU GPL 2+