Frink I guess I just read that post wrong... Whats the command for updating then?

    MikeJones composer update, same as always. Reflar UnCache just fixes the hassle of clearing the cache, etc.

      Frink gotcha, this is the first extension I am updating. That command I am assuming looks for updates for all extensions I have installed?

      Thanks!

        7 days later

        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

        Finaly one extension that deserves the right to be added to the core. ? ? ?

        Good job @Kyrne , an option to clear cache is very usefull.

        Thanks.

        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-&gt;assertNoPreviousOutput()
        #1 C:\xampp\htdocs\vendor\zendframework\zend-diactoros\src\Server.php(162): Zend\Diactoros\Response\SapiEmitter-&gt;emit(Object(Zend\Stratigility\Http\Response))
        #2 C:\xampp\htdocs\vendor\flarum\core\src\Http\AbstractServer.php(36): Zend\Diactoros\Server-&gt;listen(Object(Zend\Stratigility\NoopFinalHandler))
        #3 C:\xampp\htdocs\api.php(16): Flarum\Http\AbstractServer-&gt;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

          Frink You can't clear the cache twice. I'll add another catch for this so it's a more friendly message.

          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.