Skip to main content

Timeline for drupalSettings cached in page

Current License: CC BY-SA 4.0

7 events
when toggle format what by license comment
Jan 24, 2019 at 23:05 answer added Geat timeline score: 3
Jan 24, 2019 at 22:50 review Close votes
Jan 25, 2019 at 0:30
Jan 24, 2019 at 22:37 comment added Geat I've updated the code to show the full context.
Jan 24, 2019 at 22:34 history edited Geat CC BY-SA 4.0
added 202 characters in body
Jan 24, 2019 at 22:30 comment added mradcliffe This is probably a bit unclear as to get a good answer. I think someone might need to know more about your render array that you're attaching to. The concept you're looking for in Drupal 8 is regarding cache contexts and tags: drupal.org/docs/8/api/cache-api. Depending on what you're doing there may be an appropriate cache tag/context or be able to disable only the cache for that part of the render array with max-age.
Jan 24, 2019 at 22:28 history edited mradcliffe
Added the caching tag
Jan 24, 2019 at 22:25 history asked Geat CC BY-SA 4.0