Welcome to WebmasterWorld Guest from 54.146.217.179

Forum Moderators: bill & werty

Message Too Old, No Replies

Clients that ignore cache and TTL

     
9:40 pm on Mar 1, 2006 (gmt 0)

Junior Member

10+ Year Member

joined:Oct 25, 2004
posts:86
votes: 0


I have Apache cache control set and TTL also in the rss feed. The problem is there are a number of clients that are ignoring these options and just hammer the server multiple times a second for the same feed. (which does not get updated that often)

The user-agents are typically bogus listed as " Mozilla/5.0". I do not see a solution other than leave it alone or block them.

I suppose the next step if I do not want to go that route is to create a php program to temporarily block after so many queries. Unless there is an apache setting to do that but I have not found it yet.

Any suggestions?

11:35 pm on Mar 1, 2006 (gmt 0)

Junior Member

10+ Year Member

joined:Oct 25, 2004
posts:86
votes: 0


After thinking about this I suppose I could use apache mod_rewrite, RewriteCond %{REMOTE_ADDR}. After some playing with it I will eventually get it to work.

I am not sure what kind of performance hit I would take if there is alot of addreses I would be rewriting.

I know I kind of answered my own question but if anyone has a better solution I would still like to hear it.