Koozali.org: home of the SME Server

squid question

Matthias

squid question
« on: September 03, 2003, 08:11:56 PM »
Hi,

I'm using SME 6.0b3 and I have troubles with squid. When I request a flash file from a site of one of our customers, I always get the same file although we have updated it a couple of times and people from outside (not in our e-smith network) get the newer version.

1.) Does SQUID cache requests even if I don't have a proxy set in my browser?
2.) If yes, how can I deactivate it.

I have modified squid.conf to disable caching (I found this in the SQUID FAQ)

acl all src 0/0
no_cache deny all

this did not change anything

I also changed the config to answer request to the respective site directly without caching, which did not work as well.

What else could I do?

Thanks,
Matthias

Jeff Pe

Re: squid question
« Reply #1 on: September 03, 2003, 08:47:31 PM »
Hold Shift and hit Reload in your browser (IE), STRG Reload on NS, Mozilla, don't know about Opera. Empty the browser cache. It works.

Phil Hyde

Re: squid question
« Reply #2 on: September 04, 2003, 01:51:09 AM »
What the heck is 'STRG Reload'?

Jeff Pe

Re: squid question
« Reply #3 on: September 04, 2003, 02:34:40 PM »
Got a keyboard? Then you got STRG. Maybe it reads CTRL on yours. Place any finger of either hand over it and press it down. Point your mourse curser over the browsers menu where it says "reload" (current page), click on it. Release the finger.

Or hit Ctrl+Shift+R for a force reload in Mozilla. Maybe you wish to look it up: Mozilla Keyboard Shortcuts: http://www.mozilla.org/docs/end-user/moz_shortcuts.html

Pinguin

Re: squid question
« Reply #4 on: September 04, 2003, 04:20:03 PM »
> Got a keyboard? Then you got STRG. Maybe it reads CTRL on yours.
Really? So these non-US keyboards really exist? Amazing ;-)

Matthias

STRG + Reload doesn't do it
« Reply #5 on: September 04, 2003, 04:51:19 PM »
Hi!

Thanks four your answer Jeff, but this doesn't help, because the file, which does not update is a FLASH movie that is loaded into another flash movie. And the flash plugin is not capable of

"Place any finger of either hand over it and press it down. Point your mourse curser over the browsers menu where it says "reload" (current page), click on it. Release the finger."
....or do you have an action script command for it ;-)

I would really like to turn SQUID off, but then nothing works.

Any other suggestions?

Matthias

Michiel

Re: STRG + Reload doesn't do it
« Reply #6 on: September 04, 2003, 05:35:53 PM »
I believe you can fix this by adding (templating) the following statements to your squid.conf:

acl flash dstdomain .mycustomer.com
always_direct allow flash

(http://squid.visolve.com/squid24s1/miscellaneous.htm#always_direct)

restart squid and let us know if this works.

Michiel

Zeena

Re: STRG + Reload doesn't do it
« Reply #7 on: September 06, 2003, 02:44:35 AM »
get the contrib from the tech-geks that lets you empty the squid cache and use it when you need it

Matthias Redl

Finally solved: squid question
« Reply #8 on: September 15, 2003, 08:02:07 PM »
The FAQs have the solution:

2 commands from the command line:

/sbin/e-smith/db configuration setprop squid Transparent no
/sbin/e-smith/signal-event remoteaccess-update


This turns caching off.

That's it,
Matthias