Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    2.3 firewall tab -rules slow

    Scheduled Pinned Locked Moved 2.3-RC Snapshot Feedback and Issues - ARCHIVED
    48 Posts 8 Posters 13.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      maverick_slo
      last edited by

      Ok I will do it if you already ask for it :)

      1 Reply Last reply Reply Quote 0
      • M
        maverick_slo
        last edited by

        BTW, if we nail it, you owe me a bear,  lol :)

        1 Reply Last reply Reply Quote 0
        • M
          maverick_slo
          last edited by

          Funny…

          I just did it, page loads exactly the same amount of time.

          nocss.PNG
          nocss.PNG_thumb

          1 Reply Last reply Reply Quote 0
          • S
            Steve_B Netgate
            last edited by

            OK good. So we know it is not related to the pfSense CSS then.

            Thanks for taking the time to do that.

            I'll suggest the next step shortly.

            Als ik kan

            1 Reply Last reply Reply Quote 0
            • J
              jwt Netgate
              last edited by

              Pingle seems to have a handle on it (Internal communication)

              1 Reply Last reply Reply Quote 0
              • S
                Steve_B Netgate
                last edited by

                Let's try this please:

                Diagnostics->Edit file

                Browse to /usr/local/www/firewall_rules.php

                GoTo line 889 using the GoTo control in the top right

                Comment out the code that makes the rules sortable:

                
                events.push(function() {
                /*
                	// Make rules sortable
                	$('table tbody.user-entries').sortable({
                		cursor: 'grabbing',
                		update: function(event, ui) {
                			$('#order-store').removeAttr('disabled');
                			reindex_rules(ui.item.parent('tbody'));
                			dirty = true;
                		}
                	});
                */
                
                

                Obviously the code will no longer be sortable, but lets see if it loads faster.

                Als ik kan

                1 Reply Last reply Reply Quote 0
                • M
                  maverick_slo
                  last edited by

                  Yup, thats it :)
                  Now they're flyin :)

                  1 Reply Last reply Reply Quote 0
                  • S
                    Steve_B Netgate
                    last edited by

                    OK cool. Thanks for doing that.

                    There is an issue reported in Firefox where initializing the sorting is extremely slow. Trying to find a work-around now.

                    Als ik kan

                    1 Reply Last reply Reply Quote 0
                    • S
                      Steve_B Netgate
                      last edited by

                      I have just pushed a work-around for this. Would you please gitsync and try it when you have time?

                      Als ik kan

                      1 Reply Last reply Reply Quote 0
                      • M
                        maverick_slo
                        last edited by

                        Hi!

                        We can close it :)

                        Chrome is fastest, IE and FF little slower (1.3sec load time) which is excellent :)

                        1 Reply Last reply Reply Quote 0
                        • S
                          Steve_B Netgate
                          last edited by

                          Yay!

                          Thanks to everyone who helped to track this down and test the fix. I learn something from you guys every day  :)

                          Als ik kan

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.