Find the answer to your Linux question:
Results 1 to 5 of 5
How can I tell squid to cache everything? I basically want to cache the packages that are fetched by apt-get, I have grabbed the same packages multiple times now but ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2006
    Posts
    14

    Squid


    How can I tell squid to cache everything? I basically want to cache the packages that are fetched by apt-get, I have grabbed the same packages multiple times now but they are not cached. It seems to not be caching any type of "application", which .deb files are marked as applications in my mime I guess.

  2. #2
    Linux Newbie raghaven.kumar's Avatar
    Join Date
    Mar 2008
    Location
    Bangalore, India
    Posts
    209
    apt-get actually archives .deb to be installed at /var/cache/apt/archives !!

  3. #3
    Just Joined!
    Join Date
    Jul 2006
    Posts
    14
    I know, but i'm trying to cache .deb files for my whole network for speed and lessening load on the real servers. Is there a solution for this?

  4. #4
    Linux Newbie raghaven.kumar's Avatar
    Join Date
    Mar 2008
    Location
    Bangalore, India
    Posts
    209
    setup a local debian apt repository on your server
    and add it in /etc/apt/sources.list of your local machines

    if thats what you asked for ?!

  5. #5
    Just Joined!
    Join Date
    Jul 2006
    Posts
    14
    Well that is an option if you don't have to set up a full mirror (i.e. all packages)... But how do you make it download from my mirror and the official mirror (also in that order)?

    If possible i'd still like application caching over squid for .exe's or w/e else unless it's not secure.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •