You can simplify the code to prevent the page from being cached by adding a "no_cache" option setting to the routing YAML file. Details here:
https://www.drupal.org/node/2463533
Patch to follow.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2950101-2.prevent-caching-code.patch | 1.92 KB | jrb |
Comments
Comment #2
jrbPatch attached.
Comment #3
back-2-95This seems to be true:
https://www.drupal.org/docs/8/api/routing-system/structure-of-routes
Comment #5
back-2-95Fixed with https://www.drupal.org/commitlog/commit/91420/bca902eeaa9cde308ad9a99f7d...
Comment #6
back-2-95