This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

HTTP Proxy without Cache

is there a way to use the http proxy, but not cache the content or set limits on which websites are not cached? 


This thread was automatically locked due to age.
Parents
  • Hi all,
    intresting feature is this on the wishlist only by two of us or for more. The more it is the priority could expand for astaro.

    firebear  
  • Hey guys

    if you do some squid hacking you can config it however you like... I did an example to exclude a certain site from being cached, but you could change other options too, like cache size.

    My example,

    logged on locally as root on the server

    cd /etc/chroot-squid/etc
    cp squid.conf-DEFAULT squid.conf-OLD  (in case I screwed it!)
    vi squid.conf-DEFAULT

    added the following two lines with vi: (might have to read up, it's a pig to use)

    acl NOCACHEPAGE urlpath_regex jippers.com
    no_cache deny NOCACHEPAGE

    Simple as ;o)  WHEN YOU KNOW HOW...

    Oh of course I had to restart squid (/etc/rc.d/squid restart)

    check out the squid page for more info (search squid on google and select 'Im feelin' lucky)  
Reply
  • Hey guys

    if you do some squid hacking you can config it however you like... I did an example to exclude a certain site from being cached, but you could change other options too, like cache size.

    My example,

    logged on locally as root on the server

    cd /etc/chroot-squid/etc
    cp squid.conf-DEFAULT squid.conf-OLD  (in case I screwed it!)
    vi squid.conf-DEFAULT

    added the following two lines with vi: (might have to read up, it's a pig to use)

    acl NOCACHEPAGE urlpath_regex jippers.com
    no_cache deny NOCACHEPAGE

    Simple as ;o)  WHEN YOU KNOW HOW...

    Oh of course I had to restart squid (/etc/rc.d/squid restart)

    check out the squid page for more info (search squid on google and select 'Im feelin' lucky)  
Children
No Data