Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add no-cache attribute for fetch requests to /system/info/public to prevent stale server info #5730

Merged

Conversation

Doxterpepper
Copy link
Contributor

Changes

  • Changing caching policy for fetch calls to /System/Info/Public to avoid retrieving stale cached server info.

Issues

#5729

@dmitrylyzo
Copy link
Contributor

I think this should go to 10.9.
Could you please rebase and re-target the PR? For reference #5680 (comment)

@Doxterpepper Doxterpepper force-pushed the remove-caching-system-info branch from 67e043b to 8494a7d Compare June 25, 2024 17:12
@jellyfin-bot jellyfin-bot added the merge conflict Conflicts prevent merging label Jun 25, 2024
@jellyfin-bot

This comment was marked as outdated.

@Doxterpepper Doxterpepper changed the base branch from master to release-10.9.z June 25, 2024 17:13
github-actions[bot]

This comment was marked as outdated.

@Doxterpepper Doxterpepper force-pushed the remove-caching-system-info branch from 8494a7d to 6805eee Compare June 25, 2024 17:15
@Doxterpepper
Copy link
Contributor Author

Re targeted 1.9.z, but maybe it should go in both 1.9.z and master so it covers future releases?

@jellyfin-bot jellyfin-bot removed the merge conflict Conflicts prevent merging label Jun 25, 2024
@Doxterpepper Doxterpepper force-pushed the remove-caching-system-info branch from 6805eee to 20a301a Compare June 25, 2024 17:16
@dmitrylyzo
Copy link
Contributor

Re targeted 1.9.z, but maybe it should go in both 1.9.z and master so it covers future releases?

It will be automatically backported to the master on release.

@Doxterpepper Doxterpepper marked this pull request as ready for review June 25, 2024 18:48
@Doxterpepper Doxterpepper requested a review from a team as a code owner June 25, 2024 18:48
@thornbill thornbill added bug Something isn't working stable backport Backport into the next stable release labels Jul 11, 2024
@thornbill thornbill added this to the v10.9.8 milestone Jul 11, 2024
@thornbill
Copy link
Member

@fatexs

This comment has been minimized.

@thornbill

This comment has been minimized.

@Doxterpepper Doxterpepper force-pushed the remove-caching-system-info branch from 20a301a to e0b814c Compare August 4, 2024 01:11
@thornbill thornbill modified the milestones: v10.9.9, v10.10.0 Aug 5, 2024
@thornbill thornbill added this to the v10.9.10 milestone Aug 5, 2024
Adding no-cache Cache-Control header policy to prevent caching of server version. This ensures the correct server version is always retrieved.
@thornbill thornbill force-pushed the remove-caching-system-info branch from cca32e8 to f1ecb96 Compare August 13, 2024 14:15
Copy link

@thornbill thornbill merged commit a0e6da7 into jellyfin:release-10.9.z Aug 13, 2024
11 checks passed
thornbill pushed a commit that referenced this pull request Aug 13, 2024
Add no-cache attribute for fetch requests to /system/info/public to prevent stale server info

Original-merge: a0e6da7

Merged-by: thornbill <thornbill@users.noreply.github.com>

Backported-by: thornbill <thornbill@users.noreply.github.com>
@jellyfin-bot jellyfin-bot removed the stable backport Backport into the next stable release label Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants