We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Throttling module

Development and Programming

eeart's avatar
eeart
257 posts
15 years ago
eeart's avatar eeart

I’m working on a module for our website to have search engines by-pass the normal EE throttling settings. The reason for this is that we were seeing lots of “You have exceeded the allowed page load frequency” in our Google search results.

We have already been doing this crudely for about 6 months with a hack in /libraries/Throttling.php. It works very well and the “exceeded” errors in Google have disappeared. The new function I’ve added to Throttling.php does a reverse DNS lookup to verify that the bot is real and then adds the IP address of the bot to a whitelist or blacklist accordingly. If a search engine bot checks out then throttling is disabled for that IP address.

I am now making this into a more proper module so that we can manage the list of user agents from within CP. I also want to add the option to switch off throttling for logged in users is certain member groups. However, it would be great if I didn’t have to do the hack in Throttling.php.

I don’t think that there is an extension hook that I can use. Is there another way to tie into the throttling function of EE without needing to do the hack each time after an EE update?

Any help would be greatly appreciated. 😊

       
Paul @ Westhouse IT's avatar
Paul @ Westhouse IT
89 posts
14 years ago
Paul @ Westhouse IT's avatar Paul @ Westhouse IT

Sounds interesting, any success with this?

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.