karaok Since beta 14 (and it's not Pusher this time! 😆 )

    karaok

    My issue occurrs only when FoF Filter is enabled before FoF Pages. It doesn't happen when FoF Filter enables after FoF Pages. No other extensions (except for Flarum Approval, which is a dependency for Filter) were enabled. It is strange, because Filter is beta.14 already and shouldn't even need to register a custom view route. Should I report this at FoF Filter?

      010101 thanks, I'll do some digging

      SKevo I may have missed something when I updated fof/filter, I will check shortly

        karaok Thank you. Here's a full visual. First I click on the menu item once... loading spinner even though it's technically loaded behind the scenes. Then I click the menu item a second time and the page instantly appears.

          010101 great, thanks. What's the setup of the page, which options are selected please?

            • [deleted]

            010101 are you using recache by any chance ? I saw exactly this behaviour and contacted @Kyrne who provided a fix.

              [deleted] as far as I can tell he’s not. Maybe it was a Pages issue after all.

              karaok

              I have another Flarum installation with less extensions. I deactivated all extensions except English, Pages, and Links. Same issue. Settings for Pages are none. See below.

              This happens on Three Flarum installations I have. Settings/Extensions do not matter. This leaves an issue with my hosting company (I doubt it because this is the only extension I have left with an issue). Or, I also use Cloudflare. But... again... this is the only extension now with an issue. I’m not turning off Cloudflare even if that was the issue (and I doubt it’s the issue).

              Settings:

              image upload

              All extensions off except 3:

                010101 yeah, I seriously doubt Cloudflare would be causing this.. Let me have a play for an hour or so, I'll come back to you soon!

                  karaok I fixed it by triggering another redraw if the loading indicator is present on the page beforeupdate. Probably a better way but I fixed it via another extension of mine.

                    010101

                    Kyrne

                    Can I ask what browsers you guys are using? I can't replicate on Chrome, Firefox and (ugh) Edge, all latest versions...

                      karaok I tried Chrome on a Chromebook (I believe the latest version of Chrome). And then using Safari on my iPhone.

                      The more I think about it... it actually could be Cloudflare. @Kyrne and @[deleted] mentioned a caching extension having this issue. I don’t use that caching extension, but, I bet Cloudflare does similar things. I wonder if my sites are so heavily cached that it’s causing this? Plus, who knows what kind of caching my web host does.

                      Don’t spend too much time on this. First, it seems like many people do not have this issue. Also, I know you’re doing this for free and so unless you just don’t have anything else to do today, don’t worry about it.

                      I can’t find the post, but I also feel like this happened to me a couple years ago when I first started using Flarum. And it might have been this same extension. I tried searching here but I can’t find that post.

                        010101 to rule out Cloudflare, you could try enabling Development Mode temporarily

                          karaok Well, turning cloudflare off didn’t help. I don’t know if that’s good or bad. Probably bad because we’re out of ideas other than my web host.

                          The repaint idea would probably work. Maybe I can find a way to do that just for my sites so that this extension doesn’t have to have a work around just for a few sites here and there.

                          Or, not necessarily a repaint but maybe I can fork this and make a version that always does a full page reload when going to pages. Because the current version with the FoF Links extension is trying to be fancy and stick with the SPA no reload feel. But if I go to one of these pages using a link that’s not part of my menu like from here... it works. Because it’s a full page load. Hope this makes sense. Yet another option is tweaking the Links extension so that pages open in a new tab. That would prevent this issue as well.

                          Wait... duh... the Links extension already has a setting to open links in a new tab. So, that’ll do. That’s my work around for now. I don’t love it. Forcing new tabs. But, it’ll force the page to load so...

                            • [deleted]

                            • Edited

                            010101 disabling cloudflare isn't instant, despite it looking that way. As soon as a ping resolves to the IP of your host, it's disabled.

                              [deleted] Ok, I’ll try leaving it disabled longer. But, let’s say it is cloudflare. I’m still in the same boat. I don’t want to stop using cloudflare. 😕

                              Also for anyone else... using the Links extension setting to ensure the page opens in a new tab does in fact work. It’s just... now all my pages will open in new tabs. 🤮🤕🤪

                              010101 damn

                              I'm determined to get to the bottom of this. Next step - I'll spin up a beta 14 install on a host and place it behind cloudflare, let's see what that does...

                                010101 using 'one I made earlier'..... BINGO, issue replicated. Leave this with me...