Re: [squid-users] Re: Squid Cache flush

2011-04-25 Thread Jawahar Balakrishnan (JB)
The problem is not refreshing content from the CMS. Our deployment will be Squid reverse proxying an app server that in turn talks to the CMS for the content and adds the look and feel to the content. So squid will be caching the final url. the challenge is to figure out how to get squid to be

Re: [squid-users] Re: Squid Cache flush

2011-04-25 Thread Ron Wheeler
Have you tested to see if any of these concerns are in fact something that can happen. It is my understanding that Squid will ask the app server if the content is new or not and if the app server says that the text is new and the photo is old, then squid will ask for a new copy of the test

Re: [squid-users] Re: Squid Cache flush

2011-04-21 Thread Jawahar Balakrishnan (JB)
I would rather not do a restart of anything unless absolutely required Here are the challenges we face 1) We are trying to deploy Suqid as a reverse-proxy in front of a CMS 2) We want to trying find a balance between keeping the content fresh without affecting performance by frequently expiring

Re: [squid-users] Re: Squid Cache flush

2011-04-21 Thread Ron Wheeler
Are you sure that you need to do this? Squid should be able to tell the difference between static and dynamic content. We have a dynamic JSR-168/268 portal based on Tomcat and Jetspeed sitting behind Apache and Squid and we have never had to intervene with Squid for 3 years. We also have

Re: [squid-users] Re: Squid Cache flush

2011-04-21 Thread Jawahar Balakrishnan (JB)
It is all dynamic content going forward scenarios where a cache flush would be required 1) an article is updated 2) category is updated with a list of articles. we syndicate content to abut 150 partner and will have same article/category with a different URL doesn't squid cache based on the

Re: [squid-users] Re: Squid Cache flush

2011-04-21 Thread Ron Wheeler
If you google squid dynamic content you will find that by default squid does not cache dynamic content. If it did, it would be useless as a proxy server since that would make almost all dynamic sites unusable. There are lots of instructions about how to trick squid into caching content that

Re: [squid-users] Re: Squid Cache flush

2011-04-21 Thread Jawahar Balakrishnan (JB)
If you are thinking that is is dynamic content with query strings then it's not the case. the urls will look like a directory structured static content but the back-end app server will translate the url and fetch the appropriate content from the CMS (alfresco) On Thu, Apr 21, 2011 at 1:30 PM, Ron

Re: [squid-users] Re: Squid Cache flush

2011-04-21 Thread Ron Wheeler
On 21/04/2011 1:46 PM, Jawahar Balakrishnan (JB) wrote: If you are thinking that is is dynamic content with query strings then it's not the case. the urls will look like a directory structured static content but the back-end app server will translate the url and fetch the appropriate content

Re: [squid-users] Re: Squid Cache flush

2011-04-21 Thread Ron Wheeler
On 21/04/2011 5:29 PM, Ron Wheeler wrote: On 21/04/2011 1:46 PM, Jawahar Balakrishnan (JB) wrote: If you are thinking that is is dynamic content with query strings then it's not the case. the urls will look like a directory structured static content but the back-end app server will translate

[squid-users] Re: Squid Cache flush

2011-04-19 Thread Jawahar Balakrishnan (JB)
I am looking to deploy Squid as a reverse proxy and i had couple of questions. We currrently use Bluecoat and Sun Web proxy and i am able to do the following things 1) How would i flush objects from cache? 2) Can i flush the entire cache without restarting Squid? 3) Can i set the configuration to

Re: [squid-users] Re: Squid Cache flush

2011-04-19 Thread Hasanen AL-Bana
1- I think the fastest way to flush all the cache is to stop squid then making mkfs.extX on your cache partition. I suppose you have a separate partition for cache. 2- Is it possible ? I dunno 3- check refresh_pattern settings also you can set the minimum expiry time. On Tue, Apr 19, 2011 at

Re: [squid-users] Re: Squid Cache flush

2011-04-19 Thread Amos Jeffries
On Tue, 19 Apr 2011 11:14:55 -0400, Jawahar Balakrishnan (JB) wrote: I am looking to deploy Squid as a reverse proxy and i had couple of questions. We currrently use Bluecoat and Sun Web proxy and i am able to do the following things 1) How would i flush objects from cache? The whole lot: