2.3 firewall tab -rules slow
-
Someone who can reproduce it in Firefox, load up Firebug, enable it, and watch the Net panel as the page loads, see where the delay is
Specifically, in the lower right, there is an output of the total time and the onload delay (which would imply a JS issue)
-
I`m on it.
-
If I had to guess, I'd say it's from the entire alias contents being placed into the hover popup, rather than cutting it off after a few entries as it used to. Makes the page pretty large especially with large aliases. Though I'd expect systems with small or no aliases to still be fast.
-
Screens
-
Hmm that's with the built-in stuff in FF, not Firebug, that doesn't show the JS delay.
-
For that you can use Tools > Web Developer > Performance and then start recording data, reload the slow page, and then stop.
-
Did it, I can send you .JSON in PM?
Seems that jquery is the culprit.
Page actually took 8 seconds to load. -
I`m not lying :)
-
Wouldn't do me any good, but Steve_B may want to see it!
-
Steve? :)
BTW, I removed aliases (1 alias with 8 IPs in it) and was the same…
-
By placing a print(microtime()); at about line 256, and another after the final include("foot.inc", I can see exactly when the PHP stars/finishes loading the page. I see something like:
0.39483700 1453836509
0.40212300 1453836509So about 100 mS
Running the Firebug profiler, I see nothing suspicious in the Javascript so far.
I am using Firefox 44 on a 2015 MB Pro
-
And this is what I see on Firefox 44, Win10
Page loads/renders 7-9 seconds…
-
Can you expand DOM.event handler please?
-
Sure.
Reallllly long picture :)
-
Perfect. Thanks.
So now we know it is spending all that time recalculating the style of something or other!
Would you experiment with the different CSS files please and see if that has any effect?
System->General setup->Theme
Being of a light and sunny disposition, I prefer pfense-Beta, but perhaps you use something else.
-
I already tried it and no luck.
Tried all 3 of them.
Interesting sidenote…
Chrome on android 6 displays it in 2 seconds.
I think my computers have something in common will investigate that too... -
Removed antivirus same thing.
I don`t get it anymore :) -
I literally clicked through ALL pages and only this one is superslow.
NAT for example is very fast and it has lots of entries. -
Nor me. I have 25 rules and the page loads in 380 mS according to the Chrome profiler.
Tough without being able to reproduce it.
-
Maybe is this specific issue limited only to my firewall…
I did upgrade a lot from 2.X to every version until today...