Name: Aoe_BlackHoleSession
Owner: AOE
Description: null
Created: 2016-08-15 06:58:53.0
Updated: 2017-12-20 15:27:14.0
Pushed: 2016-08-18 13:10:54.0
Homepage: null
Size: 15
Language: PHP
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Author: Fabrizio Branca
See: https://github.com/colinmollenhour/Cm_RedisSession/issues/91
Bots (including load balancers and reverse proxies) will create many sessions that will never be used again. Instead we're detecting them based on the user agent and will skip creating a real session.
Add this to your local.xml file:
l version="1.0" encoding="UTF-8"?>
fig>
<global>
[...]
<aoeblackholesession>
<bot_regex><![CDATA[/^elb-healthchecker/i]]></bot_regex>
</aoeblackholesession>
[...]
</global>
nfig>