Manage attachments cache

Created on 13 July 2024, 4 months ago
Updated 2 August 2024, 4 months ago

Problem/Motivation

There's no cache management at all in the hook_page_attachments() so when settings are modified, the settings are not reflected in drupalSettings.

Steps to reproduce

Simply install the module then visit a page without configuring the module. Add the Key, then visit the previously cached page. Notice that the Usersnap widget doesn't load.

Proposed resolution

Add cache tag for the Usersnap settings to the render array when we attach Usersnap.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States grndlvl

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024