diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2020-01-30 17:44:01 +0100 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2020-01-30 17:44:01 +0100 |
commit | c1fa05429ac4fb5e09dcb5f8a17636ca1066e4f9 (patch) | |
tree | d3ded34f2332196d2f920b9ad6f7dc96f898c08a /templates | |
parent | 03178c5508a7e42366e581b4b42a2cea3a41bf16 (diff) |
Remove session / "save defaults" support due to caching issues3.0.0
nginx cache keys depend on session data, so misbehaving clients
(ignoring the refresh dely and continuously requesting a new departure board)
with renewed session data could not be cached, impacting DBF performance
Diffstat (limited to 'templates')
-rw-r--r-- | templates/layouts/app.html.ep | 8 | ||||
-rw-r--r-- | templates/layouts/legacy.html.ep | 8 |
2 files changed, 0 insertions, 16 deletions
diff --git a/templates/layouts/app.html.ep b/templates/layouts/app.html.ep index 543928f..f492e1c 100644 --- a/templates/layouts/app.html.ep +++ b/templates/layouts/app.html.ep @@ -186,14 +186,6 @@ Bitte eine Station aus der Liste auswählen</div> </div> </div> <div class="field"> - <div class="desc"> - %= check_box 'save_defaults' => 1, id => 'id_save_defaults' - <label for="id_save_defaults"> - Ausgewählte Optionen als Default speichern - </label> - </div> - </div> - <div class="field"> %= submit_button 'Anzeigen' </div> </div> <!-- moresettings --> diff --git a/templates/layouts/legacy.html.ep b/templates/layouts/legacy.html.ep index 98eb6c3..92943d4 100644 --- a/templates/layouts/legacy.html.ep +++ b/templates/layouts/legacy.html.ep @@ -176,14 +176,6 @@ Bitte eine Station aus der Liste auswählen</div> </div> </div> <div class="field"> - <div class="desc"> - %= check_box 'save_defaults' => 1, id => 'id_save_defaults' - <label for="id_save_defaults"> - Ausgewählte Optionen als Default speichern - </label> - </div> - </div> - <div class="field"> %= submit_button 'Anzeigen' </div> </div> <!-- moresettings --> |