Keep overlays and live responses out of LiteSpeed Cache
LiteSpeed Cache held overlay poll responses for 7 days, so OBS kept getting 304s and neither the goal bar nor alerts updated after a donation. The overlay data, overlay pages and fee preview now opt out, as the progress route did. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
0180aacd72
commit
96bae1cbf9
6 files changed
+61
-3
No files matched your search
@@ -122,6 +122,9 @@ plus a counter); when it differs from the one the page was loaded with, the over
|
||||
plugin does this automatically, and StreamGoals > Overlays > "Refresh all overlays now" does it on demand. Alert media
|
||||
URLs also carry `?v=<file modified time>`, so replacing a file with the same name is picked up.
|
||||
|
||||
Overlay data, overlay pages, the progress bar and the fee preview are never page-cached (the plugin tells LiteSpeed
|
||||
Cache to skip them). With another caching plugin or CDN, exclude `/wp-json/streamgoals/` and `/streamgoals-overlay/`.
|
||||
|
||||
## Updates
|
||||
New versions appear in WordPress automatically (Dashboard > Updates and the Plugins screen), checked against
|
||||
this repository's releases. The repository is public, so no token is needed. (If you run a private fork, paste an
|
||||
|
||||
Reference in new issue
Block a user