i needed this for a project, based on gchaincl/laravel-fragment-caching