Bug #7749
GlobalCache with vary by hostname does not work when called from a command
Start date:
03 July 2015
Due date:
% Done:
100%
Estimated time:
Patch proposed:
No
Planning:
Description
In a context where a request is not available and the cache vary by hostname (multitenant context) we should not try to cache the result, as it will not work. We let the multitenant framework handle it.
Associated revisions
History
Updated by Benjamin Dauvergne over 7 years ago
- Status changed from Nouveau to Résolu (à déployer)
- % Done changed from 0 to 100
Appliqué par commit authentic2|a9233953ceacbd0adedfebbd95263a94030ea9ae.
Updated by Benjamin Dauvergne almost 7 years ago
- Status changed from Résolu (à déployer) to Solution déployée
decorators: when a cache must vary by hostname and hostname is unavailable we don't use it (fixes #7749)
In a context where a request is not available and the cache vary by
hostname (multitenant context) we should not try to cache the result, as
it will not work. We let the multitenant framework handle it.