squid -> deny cache of all dynamic asp websites


 
Thread Tools Search this Thread
Top Forums Web Development squid -> deny cache of all dynamic asp websites
# 1  
Old 02-12-2009
prevent caching of .asp websites

hi

howto configure 2.6.STABLE5 to deny caching of .asp webpages?

Last edited by ccc; 02-27-2009 at 11:17 AM..
# 2  
Old 02-14-2009
still cannot find any solution.

Last edited by ccc; 02-27-2009 at 10:32 AM..
# 3  
Old 02-27-2009
I tried to add in squid.conf the following lines:
Code:
hierarchy_stoplist asp
acl QUERY1 urlpath_regex .asp$
no_cache deny QUERY1


Last edited by ccc; 02-27-2009 at 11:16 AM..
# 4  
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

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
Login or Register to Ask a Question