I just noticed that http:BL (http://drupal.org/project/httpbl) blocked requests are cached too, so the next anonymous person landing on a page generated by a blocked client also receives the "you have been blocked" message.

In case anyone else happens to be using both the httpbl and the boost module heres a quick imperfect fix which I'm running once/minute using cron.

rm -rf `grep -r -l http:BL /var/www/htdocs/cache`

Comments

Arto’s picture

Title: Does not co-operate with http:BL » Problem with http:BL module
Assigned: Unassigned » Arto
Status: Active » Closed (won't fix)

You can prevent specific pages from getting cached by configuring Boost at admin/settings/boost (or admin/settings/performance/boost, for the 5.x version of the module) using the Cache every page except the listed pages option.

cybe’s picture

I'm seriously lacking in PHP skills. Could you please tell me a PHP string to put in "Cache every page except the listed pages" to exclude all files containing a specific word?