Skip to content

Don't cache whole scripts in development mode, allows sub resources to hot reload again#279

Open
timja wants to merge 1 commit intojenkinsci:masterfrom
timja:move-cache-to-tag-lib
Open

Don't cache whole scripts in development mode, allows sub resources to hot reload again#279
timja wants to merge 1 commit intojenkinsci:masterfrom
timja:move-cache-to-tag-lib

Conversation

@timja
Copy link
Member

@timja timja commented Oct 29, 2021

Alternative to #278

Tested and it works, seems snappy enough but would appreciate feedback

Fixes #221

cc @basil if you have any opinion

Copy link
Member

@jglick jglick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IIUC this will only cache custom taglibs, which is a use case most plugins do not even touch except insofar as they might use some from core (mainly in configuration screens with /lib/form).

@timja
Copy link
Member Author

timja commented Oct 29, 2021

IIUC this will only cache custom taglibs, which is a use case most plugins do not even touch except insofar as they might use some from core (mainly in configuration screens with /lib/form).

correct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Subresources not reloaded in development mode

2 participants