ekandreas / bladerunner

WordPress plugin for Laravel Blade templating DEPRECATED
http://bladerunner.elseif.se
12 stars 1 forks source link

Disable cache #82

Open tomasvanrijsse opened 5 years ago

tomasvanrijsse commented 5 years ago

The current way to disable cache is only possible by setting WP_DEBUG to true. For a project I currently need to disable cache on the production site. So I've added a filter to disable cache. And while working on it it seemed prettier to only recompile the necessary files instead of removing all cached files on every request.