squid proxy - only pass through, can I disable caching?












0















I have a bunch of users that should access the internet through squid.

I don't want to cache anything.

I just want to fetch the requested page as fast as possible and deliver it to the user.



So can I just disable the cache?
I don't want to serve the users from cache. But I don't know if the cache is needed for better/faster working.



To what should I configure the memory?

I have 6GB and it can use all if it helps to speed up things.

Any other things I should keep in mind or I should set in squid.conf in my scenario?










share|improve this question





























    0















    I have a bunch of users that should access the internet through squid.

    I don't want to cache anything.

    I just want to fetch the requested page as fast as possible and deliver it to the user.



    So can I just disable the cache?
    I don't want to serve the users from cache. But I don't know if the cache is needed for better/faster working.



    To what should I configure the memory?

    I have 6GB and it can use all if it helps to speed up things.

    Any other things I should keep in mind or I should set in squid.conf in my scenario?










    share|improve this question



























      0












      0








      0








      I have a bunch of users that should access the internet through squid.

      I don't want to cache anything.

      I just want to fetch the requested page as fast as possible and deliver it to the user.



      So can I just disable the cache?
      I don't want to serve the users from cache. But I don't know if the cache is needed for better/faster working.



      To what should I configure the memory?

      I have 6GB and it can use all if it helps to speed up things.

      Any other things I should keep in mind or I should set in squid.conf in my scenario?










      share|improve this question
















      I have a bunch of users that should access the internet through squid.

      I don't want to cache anything.

      I just want to fetch the requested page as fast as possible and deliver it to the user.



      So can I just disable the cache?
      I don't want to serve the users from cache. But I don't know if the cache is needed for better/faster working.



      To what should I configure the memory?

      I have 6GB and it can use all if it helps to speed up things.

      Any other things I should keep in mind or I should set in squid.conf in my scenario?







      squid






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 29 '12 at 0:43







      Chris

















      asked Nov 29 '12 at 0:35









      ChrisChris

      10913




      10913






















          1 Answer
          1






          active

          oldest

          votes


















          0














          Proxies deliver requests "as fast as possible" BECAUSE they cache.



          but if you insist, setting your cache size to 0 will do the trick.






          share|improve this answer
























          • thanks. Can I help squid with special memory settings? I think it still needs to safe the current page in memory before it delivers it.

            – Chris
            Nov 29 '12 at 0:58






          • 1





            Memory is memory, not a whole lot you can do with that except get more of it. You can however tweak how the server caches data. Why not throw Squid into your production environment and monitor the memory and the cache info? You may find 6 gigs to be plenty. If not, you can quickly disable the caching features. Read up on this here.. wiki.squid-cache.org/SquidFaq/SquidMemory

            – Scandalist
            Nov 29 '12 at 1:07













          • Okay, so when I disabling the cache I can maybe disable other things, too? I just want to give the users the latest page (fetch it from the server). But caching DNS and such things are okay. Can I still do this with just set the cache size to 0 or will I disable this way other useful things, too?

            – Chris
            Nov 29 '12 at 1:20











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f512122%2fsquid-proxy-only-pass-through-can-i-disable-caching%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          Proxies deliver requests "as fast as possible" BECAUSE they cache.



          but if you insist, setting your cache size to 0 will do the trick.






          share|improve this answer
























          • thanks. Can I help squid with special memory settings? I think it still needs to safe the current page in memory before it delivers it.

            – Chris
            Nov 29 '12 at 0:58






          • 1





            Memory is memory, not a whole lot you can do with that except get more of it. You can however tweak how the server caches data. Why not throw Squid into your production environment and monitor the memory and the cache info? You may find 6 gigs to be plenty. If not, you can quickly disable the caching features. Read up on this here.. wiki.squid-cache.org/SquidFaq/SquidMemory

            – Scandalist
            Nov 29 '12 at 1:07













          • Okay, so when I disabling the cache I can maybe disable other things, too? I just want to give the users the latest page (fetch it from the server). But caching DNS and such things are okay. Can I still do this with just set the cache size to 0 or will I disable this way other useful things, too?

            – Chris
            Nov 29 '12 at 1:20
















          0














          Proxies deliver requests "as fast as possible" BECAUSE they cache.



          but if you insist, setting your cache size to 0 will do the trick.






          share|improve this answer
























          • thanks. Can I help squid with special memory settings? I think it still needs to safe the current page in memory before it delivers it.

            – Chris
            Nov 29 '12 at 0:58






          • 1





            Memory is memory, not a whole lot you can do with that except get more of it. You can however tweak how the server caches data. Why not throw Squid into your production environment and monitor the memory and the cache info? You may find 6 gigs to be plenty. If not, you can quickly disable the caching features. Read up on this here.. wiki.squid-cache.org/SquidFaq/SquidMemory

            – Scandalist
            Nov 29 '12 at 1:07













          • Okay, so when I disabling the cache I can maybe disable other things, too? I just want to give the users the latest page (fetch it from the server). But caching DNS and such things are okay. Can I still do this with just set the cache size to 0 or will I disable this way other useful things, too?

            – Chris
            Nov 29 '12 at 1:20














          0












          0








          0







          Proxies deliver requests "as fast as possible" BECAUSE they cache.



          but if you insist, setting your cache size to 0 will do the trick.






          share|improve this answer













          Proxies deliver requests "as fast as possible" BECAUSE they cache.



          but if you insist, setting your cache size to 0 will do the trick.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 29 '12 at 0:45









          ScandalistScandalist

          2,05472637




          2,05472637













          • thanks. Can I help squid with special memory settings? I think it still needs to safe the current page in memory before it delivers it.

            – Chris
            Nov 29 '12 at 0:58






          • 1





            Memory is memory, not a whole lot you can do with that except get more of it. You can however tweak how the server caches data. Why not throw Squid into your production environment and monitor the memory and the cache info? You may find 6 gigs to be plenty. If not, you can quickly disable the caching features. Read up on this here.. wiki.squid-cache.org/SquidFaq/SquidMemory

            – Scandalist
            Nov 29 '12 at 1:07













          • Okay, so when I disabling the cache I can maybe disable other things, too? I just want to give the users the latest page (fetch it from the server). But caching DNS and such things are okay. Can I still do this with just set the cache size to 0 or will I disable this way other useful things, too?

            – Chris
            Nov 29 '12 at 1:20



















          • thanks. Can I help squid with special memory settings? I think it still needs to safe the current page in memory before it delivers it.

            – Chris
            Nov 29 '12 at 0:58






          • 1





            Memory is memory, not a whole lot you can do with that except get more of it. You can however tweak how the server caches data. Why not throw Squid into your production environment and monitor the memory and the cache info? You may find 6 gigs to be plenty. If not, you can quickly disable the caching features. Read up on this here.. wiki.squid-cache.org/SquidFaq/SquidMemory

            – Scandalist
            Nov 29 '12 at 1:07













          • Okay, so when I disabling the cache I can maybe disable other things, too? I just want to give the users the latest page (fetch it from the server). But caching DNS and such things are okay. Can I still do this with just set the cache size to 0 or will I disable this way other useful things, too?

            – Chris
            Nov 29 '12 at 1:20

















          thanks. Can I help squid with special memory settings? I think it still needs to safe the current page in memory before it delivers it.

          – Chris
          Nov 29 '12 at 0:58





          thanks. Can I help squid with special memory settings? I think it still needs to safe the current page in memory before it delivers it.

          – Chris
          Nov 29 '12 at 0:58




          1




          1





          Memory is memory, not a whole lot you can do with that except get more of it. You can however tweak how the server caches data. Why not throw Squid into your production environment and monitor the memory and the cache info? You may find 6 gigs to be plenty. If not, you can quickly disable the caching features. Read up on this here.. wiki.squid-cache.org/SquidFaq/SquidMemory

          – Scandalist
          Nov 29 '12 at 1:07







          Memory is memory, not a whole lot you can do with that except get more of it. You can however tweak how the server caches data. Why not throw Squid into your production environment and monitor the memory and the cache info? You may find 6 gigs to be plenty. If not, you can quickly disable the caching features. Read up on this here.. wiki.squid-cache.org/SquidFaq/SquidMemory

          – Scandalist
          Nov 29 '12 at 1:07















          Okay, so when I disabling the cache I can maybe disable other things, too? I just want to give the users the latest page (fetch it from the server). But caching DNS and such things are okay. Can I still do this with just set the cache size to 0 or will I disable this way other useful things, too?

          – Chris
          Nov 29 '12 at 1:20





          Okay, so when I disabling the cache I can maybe disable other things, too? I just want to give the users the latest page (fetch it from the server). But caching DNS and such things are okay. Can I still do this with just set the cache size to 0 or will I disable this way other useful things, too?

          – Chris
          Nov 29 '12 at 1:20


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f512122%2fsquid-proxy-only-pass-through-can-i-disable-caching%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          How do I know what Microsoft account the skydrive app is syncing to?

          When does type information flow backwards in C++?

          Grease: Live!