Kyrne Best helpful extension ever ?
UnCache by ReFlar - No More Cache Problems
so there is no need of clearing cache after changing any settings?
except browser cache
PranavJadhav there shouldn't be!
PranavJadhav nope! In fact, you don't even have to clear your browser cache, the extension will do it for you!
PranavJadhav Its pretty much the best extension ever
MikeJones Okay okay I checked that already, I should not have posted this without trying ?
Few days ago I deleted my flarum instance just because of caching issue which bothered me alot. Thanks dev for this awesome extention, I appreciate it really
@PranavJadhav you can mostly thank @Kyrne because he was really determined to create this extension. He really does love making extensions ?
Potential Issue?
When I clear the cache, then go to enable an extension, a 200 OK
error is thrown. The output is:
POST http://localhost/api/extensions/antoinefr-online
<br />
<b>Warning</b>: file_get_contents(C:\xampp\htdocs\assets\rev-manifest.json): failed to open stream: No such file or directory in <b>C:\xampp\htdocs\vendor\reflar\uncache\src\Jobs\ClearCache.php</b> on line <b>87</b><br />
<br />
<b>Warning</b>: Invalid argument supplied for foreach() in <b>C:\xampp\htdocs\vendor\reflar\uncache\src\Jobs\ClearCache.php</b> on line <b>89</b><br />
<br />
<b>Warning</b>: array_values() expects parameter 1 to be array, null given in <b>C:\xampp\htdocs\vendor\reflar\uncache\src\Jobs\ClearCache.php</b> on line <b>97</b><br />
<br />
<b>Fatal error</b>: Uncaught RuntimeException: Output has been emitted previously; cannot emit response in C:\xampp\htdocs\vendor\zendframework\zend-diactoros\src\Response\SapiEmitterTrait.php:31
Stack trace:
#0 C:\xampp\htdocs\vendor\zendframework\zend-diactoros\src\Response\SapiEmitter.php(27): Zend\Diactoros\Response\SapiEmitter->assertNoPreviousOutput()
#1 C:\xampp\htdocs\vendor\zendframework\zend-diactoros\src\Server.php(162): Zend\Diactoros\Response\SapiEmitter->emit(Object(Zend\Stratigility\Http\Response))
#2 C:\xampp\htdocs\vendor\flarum\core\src\Http\AbstractServer.php(36): Zend\Diactoros\Server->listen(Object(Zend\Stratigility\NoopFinalHandler))
#3 C:\xampp\htdocs\api.php(16): Flarum\Http\AbstractServer->listen()
#4 {main}
thrown in <b>C:\xampp\htdocs\vendor\zendframework\zend-diactoros\src\Response\SapiEmitterTrait.php</b> on line <b>31</b><br />
Any ideas? When you refresh the page, the extension has been enabled, but the error makes the user think it hasn't
- Edited
This sounds so good that it might become a standard feature in Flarum. I would strongly suggest it, at any rate!
EDIT: I do not see it available for download on Bazaar. Weird.
Hifihedgehog look for "ReFlar UnCache"
Hifihedgehog I believe that this has been fixed for beta8, so this extension will be for beta7. They may transfer it over, because the cloudflare integration is a brilliant idea
- Edited
Kyrne I did. Nothing under “Reflar” or “Uncache.” There are, of course, the other Reflar extensions besides Uncache when I search for Reflar in Bazaar’s main listing.
Ralkage Sorry for the slow reply, but I only see the plug-in in Flagrow’s listing and it is still not in Bazaar.
Hifihedgehog it is still not in Bazaar
try clearing your flarum cache php flarum cache:clear
, if that does not help, I'd be thankful if you'd create an issue at https://github.com/flagrow/bazaar/issues we'll gladly assist you
This isn't a big deal. It's all an elephant anyway. But, I think this extension may not always work. What I am finding is, the more extensions I install, I just have to clear Chrome's cache and cookies, after I install something for it to 100% work. I can click the clear cache option that comes with this extension, but, that will not make the text/language appear correctly. In order to get things like this.is.coding.type.text to change to Menu Item, for example, (hope this makes sense), clearing Chrome's cache AND cookies, is all that works for me.
At least doing that works, which is why I say this isn't a big deal.
Thanks GOD ?
No,
Thanks CDK2020!
Nice & Awesome work!