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

    Improve GUI loading speed

    General pfSense Questions
    2
    3
    285
    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.
    • A
      Antibiotic
      last edited by

      Hello, from snbforum one guy wrote a tip for speed up webgui loading. This is him action:

      Mar 11, 2023
      #1
      On the RT-AC68U model, the GUI loading speed is really, really slow, one reason is the CPU clock speed, and the other reason is the ROM read speed.

      So, a few days ago, I started trying to mount all webpages on a RAM DISK to improve loading speed, and sure enough it significantly improved GUI page loading speed.

      You can do this:

      mkdir -p /tmp/gui
      cp -r /www /tmp/gui
      mount --bind /tmp/gui/www /www

      This will consume about 25MB of RAM, but it's worth it.

      Create a init-start script that will automatically load the GUI to the RAM DISK every time you boot.
      #!/bin/sh
      if [ ! -d /tmp/gui ]; then
      mkdir -p /tmp/gui
      cp -r /www /tmp/gui
      mount --bind /tmp/gui/www /www
      fi

      Is it possible to make this on pfSesne using RAM?
      If possible any changes in this script. This is script for linux based routers.

      pfSense plus 24.11 on Topton mini PC
      CPU: Intel N100
      NIC: Intel i-226v 4 pcs
      RAM : 16 GB DDR5
      Disk: 128 GB NVMe
      Brgds, Archi

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        No, not easily. Doing that would break every time anything get's updated.

        You can enable RAM disks and that can help for very slow storage. But that isn't what you have. An NVMe SSD is many many times faster than the flash ROM on a SOHO router.

        A 1 Reply Last reply Reply Quote 0
        • A
          Antibiotic @stephenw10
          last edited by

          @stephenw10 Ok. thanks

          pfSense plus 24.11 on Topton mini PC
          CPU: Intel N100
          NIC: Intel i-226v 4 pcs
          RAM : 16 GB DDR5
          Disk: 128 GB NVMe
          Brgds, Archi

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