homepage Welcome to WebmasterWorld Guest from 54.166.105.24
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / RSS, ATOM, and Related Technologies
Forum Library, Charter, Moderators: bill & werty

RSS, ATOM, and Related Technologies Forum

    
Clients that ignore cache and TTL
Kahless

10+ Year Member



 
Msg#: 500 posted 9:40 pm on Mar 1, 2006 (gmt 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?

 

Kahless

10+ Year Member



 
Msg#: 500 posted 11:35 pm on Mar 1, 2006 (gmt 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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / RSS, ATOM, and Related Technologies
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved