Sponsored Content
Top Forums Web Development squid -> deny cache of all dynamic asp websites Post 302292269 by jim mcnamara on Friday 27th of February 2009 10:02:32 AM
Old 02-27-2009
Cosnidering how many places you've asked this question it is amazing you got no answer.
We do this - the first block is to allow caching for certain domains - the second block turns off everybody else. This is not exactly what you asked for, but our network guy claims this is best practice.

Code:
# allow some domain to cache example:
acl somedomain dstdomain .somedomain.com
cache allow somedomain

# stop any other dynamic  cache  example:
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY

 

10 More Discussions You Might Find Interesting

1. Linux

Squid Cache Directory

Hi, I have redhat linux 9 and squid installed on it. I would like to know which (ufs, diskd, async) format I should use in my squid setup for the squid directory. Also if possible can anyone tell me which is the best. Regards, Raja (2 Replies)
Discussion started by: RajaRC
2 Replies

2. Linux

squid cache directories

Hi, I have redhat linux 9 and squid installed on it. I have three cache directories on my filesystem The size of each varies -- /cache0 600 MB /cache1 1024 MB /cache2 900 MB I have checked that all the 3 directories the disk space utilization same, does that mean the squid copies same... (0 Replies)
Discussion started by: RajaRC
0 Replies

3. Linux

squid dynamic cache

by default squid don`t make cache of dynamic content e.g ( .asp files). I need to cache asp files in my proxy, anyone know how can I do this task? (2 Replies)
Discussion started by: miguens
2 Replies

4. Linux

getting info on Cache Size, Data Cache etc..

Hi all I saw in Microsoft web site www.SysInternals.com a tool called CoreInfo from able to print out on screen the size of the Data and Instruction caches of your processor, the Locigal to Physical Processor mapping, the number of the CPU sockets. etc.. Do you know if in Linux is available a... (2 Replies)
Discussion started by: manustone
2 Replies

5. Emergency UNIX and Linux Support

Configure Squid to use LDAP group auth to deny internet access

Hi all We have squid-2.5.STABLE11-3.FC4 running in our environment. LDAP authentication works fine. Active Directory 2003 Users are prompted to enter credentials every time they access the net. The system works perfectly, but I need to configure Squid to block users in a specific AD group.... (1 Reply)
Discussion started by: wbdevilliers
1 Replies

6. Linux

File cache /Page cache Linux

Hi All, could any one point out any open source test-suites for "File cache" testing and as well as performance test suites for the same. Currently my system is up with Linux/ext4. Regards Manish (0 Replies)
Discussion started by: hmanish
0 Replies

7. Linux

how to configure Squid with ONE Network Card for cache and proxy

hello all, how i can configure Squid with ONE Network Card for cache and proxy as shown in image attached. (1 Reply)
Discussion started by: jazaib92
1 Replies

8. UNIX for Advanced & Expert Users

Squid Dynamic Proxy Server Configuration

Hello all, I am trying to configure squid proxy server for different organizations. These organizations will have different blocked ports, different acls, etc. But, I can use only one proxy server for this purpose. Thinking of making a shell script with iptables and squid. For an example: a... (1 Reply)
Discussion started by: admin_xor
1 Replies

9. Linux

How to deny facebook https using squid proxy in Centos 6.5?

Hi we have Centos Server and we have client machines using Ubuntu 12.04 and Win7,I Have Configured Squid only purposely for facebook denied, Cos User;s often being in fb so need to do it, have configured squid as transpernt , followed this How to install squid proxy on centos 6 steps to did it and... (1 Reply)
Discussion started by: babinlonston
1 Replies

10. Linux

How to deny facebook https using squid proxy in Centos 6.5?

Hi we have Centos Server and we have client machines using Ubuntu 12.04 and Win7,I Have Configured Squid only purposely for facebook denied, Cos User;s often being in fb so need to do it, have configured squid as transparent , followed this How to install squid proxy on centos 6 steps to did it and... (2 Replies)
Discussion started by: babinlonston
2 Replies
dbc_max_pct(5)							     OBSOLETED							    dbc_max_pct(5)

NAME
dbc_max_pct, dbc_min_pct, bufcache_max_pct, bufpages, nbuf - OBSOLETED kernel tunable parameter DESCRIPTION
These tunables have been obsoleted and removed. Do not make any changes to these tunables, as they have no effect on the kernel. Use the file cache tunables and (see filecache_max(5)). In previous releases, the tunables and were used to set limits to the dynamic buffer cache, and the tunables and were used for tuning the buffer cache when a static cache was desired. This release of HP-UX offers improved file caching technology and improved physical memory control associated to caching file I/O data. The number of tunable parameters used to control file caching memory usage is reduced from five to two, and previous usability issues are addressed. Restrictions on Changing These tunables should not be modified. Attempting to tune any of the obsolete buffer cache tunables, or results in an error. Use the tunables and to set limits on the file cache. Note that, on a any given system, the optimum values of these two new tunables are not necessarily equivalent to the optimum values of the obsolete buffer cache tunable values in the older systems. You should first deter- mine if the new default values yield acceptable performance on your system, before attempting to change the values of the new file cache tunables. AUTHOR
and were developed by HP. SEE ALSO
filecache_max(5). Kernel Tunable Parameter dbc_max_pct(5)
All times are GMT -4. The time now is 05:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy