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

Long time to load pages with external resources #304

Open
jpomykala opened this issue Jan 7, 2025 · 2 comments
Open

Long time to load pages with external resources #304

jpomykala opened this issue Jan 7, 2025 · 2 comments

Comments

@jpomykala
Copy link

Hey there,

I'm not sure if I'm the only one who encounters the issue but I've noticed that the Glance takes ~5 seconds to load from time to time. I've testing so far which widget can cause such a long time to load, but I couldn't find which one it is. Let's say, I have weather, RSS and Twitch widgets, from time to time it takes long to open the page. I've tried to delete them one by one but apparently I've to remove all of them to make it instant to open. Call me crazy but it feels like there is some constant time that show the loading icon when there is any widget like Weather, RSS, Twitch or something that requires an external access.

I know there is a caching option, but I'm wondering is there any option to load components independently. So we could show bookmarks that are static and load in background the rest.

But as I said, I didn't saw any issue regarding this so maybe I'm the only one who experiences this.

The first open of the Glance after restart is always slow, that's obvious, the next ones are super quick, but after the cache expires I have to again wait ~5 seconds to see my bookmarks. For now, I've just moved all widgets like RSS, to another page, so I can have a fast access to bookmarks.

@svilenmarkov
Copy link
Member

Hey, you haven't provided much information about your setup but just based on you mentioning that requests take ~5s, this very much sounds like #290. Could you have a look through the comments over there and confirm if your case is similar and if any of the workarounds helped?

@ralphocdol
Copy link
Contributor

I have come across this issue, mine specifically is FreshRSS connected to RSS widget and is down or still starting. Not a big problem for me but I can see where this can cause issues. Having each component Lazy load is actually a good suggestion for this, or at least giving it lazy-load: true option in config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants