tractorcow / silverstripe-dynamiccache

Simple on the fly caching of dynamic content for Silverstripe
39 stars 27 forks source link

BUG Cache doesn't refresh on page deletion #4

Closed tractorcow closed 11 years ago

tractorcow commented 11 years ago

When a page is published (see https://github.com/tractorcow/silverstripe-dynamiccache/blob/3.1/code/DynamicCachePageExtension.php#L16) the cache will refresh itself, but unpublished or deleted pages will remain cached. Need to add additional hooks to this method.

tractorcow commented 11 years ago

Fixed with 9356fd83188a874c14da9eb105c177ea2373a9ba