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

    Is cache really improve the connection speed?

    Scheduled Pinned Locked Moved pfSense Packages
    41 Posts 8 Posters 18.9k 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.
    • I
      iamthed
      last edited by

      i don't understand why you ppl put a maximum object size very high..
      i think the definition maximum object is for the packet.. not for the overall file..
      one file that u download 1mb it maybe consist of hundred package..
      so why you setting to high??
      i think 1024 for maximum object is enough..

      and what is Low-water-mark and High-water-mark in % ?

      guys are you using bridge mode for transparent proxy? because i can filter anything in bridge mode using transparent proxy..  ???

      i'm dumb.. but i have a desire to learn

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

        I set the max object size very high to cache windows updates.  There is nothing worse than watching people sit at their desk while a 150mb .NET service pack downloads at 300K.

        1 Reply Last reply Reply Quote 0
        • I
          iamthed
          last edited by

          @mhab12:

          I set the max object size very high to cache windows updates.  There is nothing worse than watching people sit at their desk while a 150mb .NET service pack downloads at 300K.

          u don't get it what i mean..
          cmiiw the file that u download 150mb.. it consist of a thousand packet..
          one packet maybe contain arround 256 kb

          what i mean is max object size is per packet.. not a whole file..

          i'm dumb.. but i have a desire to learn

          1 Reply Last reply Reply Quote 0
          • jahonixJ
            jahonix
            last edited by

            Hay, d-ifyouare, who told you squid would cache IP packets only? It is caching an entire object (aka file) from the likes of .html or .jpg or .png or.xml or …
            Looking at your squid cache folders you'll find objects of highly varying sizes. That's the size of the cached file. It wouldn't differ if its only packets.

            1 Reply Last reply Reply Quote 0
            • I
              iamthed
              last edited by

              @jahonix:

              Hay, d-ifyouare, who told you squid would cache IP packets only? It is caching an entire object (aka file) from the likes of .html or .jpg or .png or.xml or …
              Looking at your squid cache folders you'll find objects of highly varying sizes. That's the size of the cached file. It wouldn't differ if its only packets.

              u're questioning about "who told me" that's juz my assumption.. that's why i said "CMIIW"
              ok so now my question.. someone refer that he's using cache for windows update..
              let's say person A he download windows update at speed 5kb and finish the update <–-- squid will save it as a cache right?

              and then person B download windows update too.. how aproximately the speed? is it as fast as file sharing?

              i'm dumb.. but i have a desire to learn

              1 Reply Last reply Reply Quote 0
              • T
                Tikimotel
                last edited by

                If you have a very busy network the file downloaded from windows-update might not be in cache anymore.
                If the network isn't very busy chances are the file will be delivered from squid cache (either RAM or HDD).

                Squid performance depends greatly on usage, hence the many caching policies and configuration option (not all implemented into the package).
                There is no simple configuration to satisfy all usage variables.

                1 Reply Last reply Reply Quote 0
                • J
                  josey
                  last edited by

                  @iamthed:

                  @jahonix:

                  Hay, d-ifyouare, who told you squid would cache IP packets only? It is caching an entire object (aka file) from the likes of .html or .jpg or .png or.xml or …
                  Looking at your squid cache folders you'll find objects of highly varying sizes. That's the size of the cached file. It wouldn't differ if its only packets.

                  u're questioning about "who told me" that's juz my assumption.. that's why i said "CMIIW"
                  ok so now my question.. someone refer that he's using cache for windows update..
                  let's say person A he download windows update at speed 5kb and finish the update <–-- squid will save it as a cache right?

                  and then person B download windows update too.. how aproximately the speed? is it as fast as file sharing?

                  yes, how is it working for me
                  comp A download file 500mb large ar speed 100kbs
                  after finish
                  comp B download same file at speed 10 000kbs+ :)

                  so is it worth it?
                  definitely!

                  1 Reply Last reply Reply Quote 0
                  • I
                    iamthed
                    last edited by

                    yes, how is it working for me
                    comp A download file 500mb large ar speed 100kbs
                    after finish
                    comp B download same file at speed 10 000kbs+ :)

                    so is it worth it?
                    definitely!

                    okay how bout this situation..
                    comp 1 download file A on website name www.whocares.com
                    comp 2 download file A but from diffrent website but it has the same contain from www.icares.com

                    is cache from website whocares and i cares has stored double on var/squid/cache??
                    i think i started to like cache  :P

                    i'm dumb.. but i have a desire to learn

                    1 Reply Last reply Reply Quote 0
                    • J
                      josey
                      last edited by

                      who cares if it holds double file :D

                      you (at least i do) have 100 gigs cache :D

                      but, good question, anybody knows? for surely?
                      maybe if name is same, and size…

                      1 Reply Last reply Reply Quote 0
                      • B
                        Bern
                        last edited by

                        The cache will have two copies of the same file as they came from different URIs/URLs.

                        If you're worried about duplicate Windows Updates then you should be using WSUS or something like Heise's offline update.

                        In a business environment of any importance you should really be using WSUS to manage/track updates anyway.

                        1 Reply Last reply Reply Quote 0
                        • I
                          iamthed
                          last edited by

                          sorry guys i'm newbie.. i wanna se my cache..
                          but how?
                          is it go from shell?
                          what is the command for look it..
                          thx a lot

                          i'm dumb.. but i have a desire to learn

                          1 Reply Last reply Reply Quote 0
                          • J
                            jigpe
                            last edited by

                            users used 60gb a day. Is it ok?

                            jigp
                            Davao City
                            1.2.2

                            1 Reply Last reply Reply Quote 0
                            • C
                              chudy
                              last edited by

                              okay how bout this situation..
                              comp 1 download file A on website name www.whocares.com
                              comp 2 download file A but from diffrent website but it has the same contain from www.icares.com

                              is cache from website whocares and i cares has stored double on var/squid/cache??
                              i think i started to like cache  :P

                              This is how CDN works. It downloads the content from the different servers usually it downloads near to your location.
                              Thats why squid has storeurl feature to redirect them into 1 file.

                              1 Reply Last reply Reply Quote 0
                              • J
                                jigpe
                                last edited by

                                Thanks. Im downloading now the cacheboy. Ill update you :)

                                Good afternoon

                                jigp
                                Davao City

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