Recording sessions for different anonymous users prevents caching from working optimally.

CommentFileSizeAuthor
#2 3440389-1.patch1.39 KBleo liao

Comments

leo liao created an issue. See original summary.

leo liao’s picture

StatusFileSize
new1.39 KB
mlncn’s picture

Version: 8.x-1.0-beta3 » 8.x-1.x-dev
Status: Active » Needs work

Ah, OK, the goal is to be able to disable redirection to not take the performance hit of checking for where somebody came from in their session.

As Leo's comment in the code put it: Recording sessions for different anonymous users prevents caching from working optimally

Fine to have an option, could you update the code to use the injected $this->configFactory rather than \Drupal::config and, most important, have this checkbox be set to enabled for existing sites (adding it to the schema and i think an update hook needed to set it as well).

Thank you for your contribution!

mlncn’s picture

Title: Enable destination redirection after login. » Allow disabling destination redirection after login