Disable cache#82
Open
tomasvanrijsse wants to merge 34 commits intoekandreas:developfrom
tomasvanrijsse:feature/disable-cache
Open
Disable cache#82tomasvanrijsse wants to merge 34 commits intoekandreas:developfrom tomasvanrijsse:feature/disable-cache
tomasvanrijsse wants to merge 34 commits intoekandreas:developfrom
tomasvanrijsse:feature/disable-cache
Conversation
Apply fixes from StyleCI
Updated the composer.json file based on comments from GitHub and Twitter.
Apply fixes from StyleCI
Instead of using quotes or nothing at al it looks better to wrap them in code tags :)
Issues: `bladerunner/template/bladepath` example returned undefined `$path` instead of `$paths` `bladerunner/template/bladepath` can be called with a string, the example would then choke on `$paths[] =`
Make `bladepath` example work in strict php
Issue: previous example generated this php error: `Warning: call_user_func_array() expects parameter 1 to be a valid callback, no array or string given ...`
Add working example for bladerunner/cache/make
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.