-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
display feed icons on frontpage #3787
Conversation
Pull request artifacts
last change: Monday 2023-11-13 21:55:32 |
6f6b623
to
832a541
Compare
832a541
to
2b61fc9
Compare
This is a really bad change I would say. It means that if the provider enabled lets say 100 bridges that has icon defined - then each visitor of frontpage makes additional 100 HTTP requests to bridge !!external!! URLs. Which can be abused for tracking users of rss-bridge on each of these 100 sites without visitors knowing it. Without using the bridge even. If this has to be done really at dashboard, I would suggest to make it so rss-bridge fetches the icon on it's own and the image is served from rss-bridge cache only . Just by example of this PR, it adds a quite unique URL which looks concerning.
|
i agree. resource heave and privacy issue. rssbridge could act as a proxy and serve icons but that would be a new feature. |
apply timeout of 10 seconds when loading feed icons
The code has been further improved to decrease loading times and save performance. This has been accomplished by applying a timeout value of 10 seconds when loading images and storing information about broken images in cache to prevent continued attempts to load them. The PR is now ready of being merged. |
@Niehztog thanks for the effort but wont merge this |
@dvikan could you please explain your decision? All issues are addressed, so whats the problem? |
Main reason is visiting the front page produces 438 network calls which is too burdensome/slow/annoying for users. Also low code quality. Sorry. |
@dvikan Thank you for clarification. We could work together to address those issues you see in the code quality. You could just tell me which parts need to be improved. |
For example on https://rss-bridge.org/bridge01/ all 436 bridges are enabled/activated. We cant generate that many network calls for a single user. Not good ux. |
I agree |
This PR adds the display of the icon of each bridge on the front page of rss bridge. If the icon uri cannot be resolved, the icon will be hidden.
The code change in
FrontpageAction.php
is just a small refactoring and is optional.