Error occurred when fetching sidebar data
Until now, portal_sessions was only reliably usable when using a family with only one zope node, because the session data was using RAM cache. When used by authenticated users it was more or less usable, because of haproxy sticky cookie that we set for authenticated users, but for non authenticated users this was basically unusable. This was especially a problem for CaptchaField, for which users are generally not authenticated.
This changes portal_sessions to use a distributed cache, which brings several differences:
portal_caches.clearAllCaches
API no longer clear all sessions.This will create a new commit in order to revert the existing changes.