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

Cache often accessed web server resources #3462

Open
gabek opened this issue Dec 3, 2023 · 2 comments · Fixed by #3463
Open

Cache often accessed web server resources #3462

gabek opened this issue Dec 3, 2023 · 2 comments · Fixed by #3463
Assignees
Labels
go backend Server-side code written in Go

Comments

@gabek
Copy link
Member

gabek commented Dec 3, 2023

Share your bug report, feature request, or comment.

When the URL to an Owncast server gets shared to a lot of people, many clients and servers hit that URL all at the same time. Each of these clients would require the same response.

We should actively cache these responses for a short time and serve it up as a response.

Additionally, it would make sense to cache responses that will be the same for everyone, if only for a short time, as a bit of an optimization.

@gabek gabek added the go backend Server-side code written in Go label Dec 3, 2023
@gabek gabek self-assigned this Dec 4, 2023
@gabek gabek added this to the v0.1.3 - Incremental update milestone Dec 8, 2023
@gabek gabek changed the title Cache the server-rendered bot/search/social page Cache often accessed web server resources Dec 9, 2023
@gabek gabek reopened this Jan 2, 2024
@gabek
Copy link
Member Author

gabek commented Jan 2, 2024

I reverted this. I was too heavy handed and I'm going to look at this again, maybe not for this release.

@gabek gabek removed this from the v0.1.3 - Incremental update milestone Jan 11, 2024
Copy link

stale bot commented Mar 17, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this was a feature request that others have shown no interest in then it's likely to not get implemented due to lack of interest. If others also want to see this feature then now is the time to say something! Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go backend Server-side code written in Go
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant