• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 19.2k 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 May 20, 2009, 2:42 PM

    @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 May 20, 2009, 6:12 PM

      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 May 21, 2009, 5:24 AM

        @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 May 21, 2009, 6:27 PM

          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 May 21, 2009, 8:56 PM

            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 May 21, 2009, 9:11 PM

              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 May 22, 2009, 3:03 PM

                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 Jul 9, 2009, 3:43 AM

                  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 Jul 9, 2009, 4:17 AM Jul 9, 2009, 4:06 AM

                    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 Jul 9, 2009, 5:09 AM

                      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.
                        This community forum collects and processes your personal information.
                        consent.not_received