[deleted] can you contact me on discord? Something might be wrong as I recall it working very well when it was initially setup on your forum.

    • [deleted]

    Kyrne Pinging you now...

    15 days later
    • [deleted]

    Upgraded to Beta 10 yesterday, and since then......WOW - ReCache seems to be on steroids (or something) 🙂 I'm interested to know what may have changed this behavior....in a 100% positive way of course !

    • [deleted]

    I think I've found a bug in ReCache. It seems that intermittently (actually able to reproduce more often than not), when ReCache is running and you force the page to reload with F5, it loads stale CSS. If you disable the extension, the issue disappears.

    Can this be checked ?

    Thanks

    • [deleted]

    Definitely a bug. Am able to reproduce every time with the extension enabled. Having to disable it just to get the correct CSS to show.

      [deleted] sorry for not responding to you sooner, we’ve been really busy with various things since most of the ReFlar members are part of the Flarum team/staff and we are also still transitioning extensions from ReFlar to FriendsOfFlarum among the many things 🙂

      Please feel free to reach out to me on Discord during the week, it seems @Kyrne has been pretty busy himself too but we’re always here to provide support nonetheless!

        • [deleted]

        Ralkage no issues. Really not the end of the world, but would be nice to get this fixed.

        Thanks for the information I will wait a little bit before installing this fabulous extension.

        • [deleted]

        Kyrne Yep - no difference. Even emptied the cache completely via redis-cli

        • [deleted]

        Ralkage Let me know when you are online (Discord) and I'll send you a request.
        Thanks

          • [deleted]

          Right - I'm coming back here to let everyone know that the stale CSS issue appears to be no fault of ReCache itself - mostly because after clearing redis on my local server again, the issue has since subsided, and I can no longer replicate it. ReCache has now been fired up again on my site, and it's seriously fast.

          The monthly payment for this extension is extremely cheap when you consider the performance increase it presents. However, don't go using this on crappy hosting, as you won't see any benefit. I'm using a VPS with redis cache installed - both for WordPress (front-end of my website), and Flarum (the forums), and the speed is incredible. Have a look at this

          Main Site

          Lookup time: 0.004219
          Connect time: 0.033650
          SSL handshake time: 0.102745
          Pre-Transfer time: 0.102862
          Redirect time: 0.000000
          Start transfer time: 0.694713
          
          Total time: 0.748269

          Discussion forums

          Lookup time: 0.012339
          Connect time: 0.019150
          SSL handshake time: 0.042724
          Pre-Transfer time: 0.042833
          Redirect time: 0.000000
          Start transfer time: 0.411799
          
          Total time: 0.465647

            [deleted] as per our discussion on Discord, looks as if this issue was intermittent and didn't occur after you reenabled ReCache 🤔 please do reach out to @Kyrne or me if you ever run into issues again 🙂

            Glad to see that you seeing performance gainz as well 😉

              6 days later

              Quick note for our users who have upgraded to beta 10:

              After updating, disable query caching, then ensure vendor/flarum/core/src/Database is writable as the permissions will have been reset, finally re-enable query caching, then you should be all set.

              Feel free to reach out if you need more help or run into any issues!

              7 days later
              • [deleted]

              As far as I understand it, it's possible to re-use the same subscription license for multiple forums - however, this doesn't work too well if they are actually on the same server. For example, the REDIS database on one of my forums is "1", which is the default. If I want to use the same extension on another forum hosted on the same server (which is my exact use case), then the database ID would be different (I expect).

              However, how do you know which ID it should be ? Can you specify any ID you like ?

              Thanks

                [deleted] this is unrelated to the premium subscription, it allows any number of flarum installations.

                As to your issue I assume the Redis server information is hardcoded then?

                  • [deleted]

                  • Edited

                  luceos No, the redis server information isn't hardcoded. When you install this extension, it asks you which redis instance to use. The extension assumes "1", but if this is already used, then you are going to land up with issues if two forums are using the same cache. My point is what decides the instance number ?

                  Can you specify your own, and the extension will still work ? For example, one of my forums is using "1" - that same website's main site (Wordpress) is using "2", etc..

                    • [deleted]

                    On my other forum, where I have just installed and enabled recache, I get the below in the console when trying to activate redis from the dropdown list

                    Uncaught TypeError: Cannot read property 'host' of undefined
                        at r.n.view (SettingsPage.js:96)
                        at r.e.render (Component.js:102)
                        at Object.i [as view] (Component.js:189)
                        at mithril.js:1568
                        at g (mithril.js:189)
                        at ut (mithril.js:1563)
                        at Function.m.redraw (mithril.js:1547)
                        at Function.m.endComputation (mithril.js:417)
                        at lt (mithril.js:1587)
                        at HTMLInputElement.Y.t.<computed> (mithril.js:1288)