LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-06-2010, 05:20 AM   #1
Felipe
Member
 
Registered: Oct 2006
Posts: 302

Rep: Reputation: 32
squid, cache images not working


Hallo:

I've configured squid as a reverse proxy.

I connect it with https protocol.
I want to cache all images, so I've defined:

cache_mem 32 MB
cache_mgr myemail@company.com
cache_dir ufs /var/spool/squid 100 16 256
coredump_dir /var/spool/squid/cache
acl manager proto cache_object

refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern .
refresh_pattern \.jpg$ 1440 50% 2880
refresh_pattern \.jpeg$ 1440 50% 2880
refresh_pattern \.gif$ 1440 50% 2880
refresh_pattern \.bmp$ 1440 50% 2880
refresh_pattern \.png$ 1440 50% 2880
refresh_pattern \.svg$ 1440 50% 2880
refresh_pattern \.tif$ 1440 50% 2880
refresh_pattern \.tiff$ 1440 50% 2880

hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY

Nevertheless, every time I do something like:
https://server1.domain.com/pub/img/head.jpg

the request is sent to the Apache. I'd like that squid cache images and not to set them to the server.

What's wrong?

Thanks


Felipe
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Active directory Authentication of parent non-squid cache to child squid cache espiya7 Linux - Server 0 05-05-2009 08:04 AM
cache not working is squid davimint Slackware 6 10-16-2007 12:05 AM
clearing squid cache not working yawe_frek Linux - Server 11 05-08-2007 08:42 AM
Konqueror - images in cache lord_didger Linux - Software 9 09-01-2006 06:15 AM
Squid stops working..-->clear rebuild cache ALInux Linux - Networking 8 07-07-2006 10:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration