aoepeople / aoe_blackholesession
Will skip creating a real session for bots
Installs: 296
Dependents: 0
Suggesters: 0
Security: 0
Stars: 20
Watchers: 26
Forks: 8
Open Issues: 1
Type:magento-module
Requires
This package is not auto-updated.
Last update: 2024-11-15 23:01:51 UTC
README
Author: Fabrizio Branca
See: colinmollenhour/Cm_RedisSession#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.
Configuration
Add this to your local.xml file:
<?xml version="1.0" encoding="UTF-8"?>
<config>
<global>
[...]
<aoeblackholesession>
<bot_regex><![CDATA[/^elb-healthchecker/i]]></bot_regex>
</aoeblackholesession>
[...]
</global>
</config>