mirror of
https://github.com/go-shiori/shiori.git
synced 2026-04-25 14:35:52 +03:00
[GH-ISSUE #936] Some asset take so much time to load when became behind revece proxy #415
Labels
No labels
component:backend
component:builds
component:builds
component:extension
component:frontend
component:readability
database
database:mysql
database:postgres
database:sqlite
feature:ebooks
github_actions
good first issue
hacktoberfest
note:duplicate?
note:fixed?
note:out-of-scope?
os:windows
priority:high
priority:low
pull-request
resolution:as-intended
resolution:cant-reproduce
resolution:duplicate
resolution:fixed
resolution:wontfix
tag:TBD
tag:big-task
tag:help-wanted
tag:huge-data
tag:meta
tag:more-info
tag:next
tag:no-stale
tag:requires-migrations
tag:research
tag:security 🛡️
tag:stale
tag:waiting-for-assignee
type:bug
type:documentation
type:enhancement
type:meta
type:ux
user:cli
user:web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shiori#415
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Monirzadeh on GitHub (Jun 8, 2024).
Original GitHub issue: https://github.com/go-shiori/shiori/issues/936
Data
Describe the bug / actual behavior
i have a shiori instance on a local network behind nginix reverse proxy (to have subdomain in local network)
when i try to load shiori (in new tab) it take time for the first time load.
profiling show me
assets/css/libs/fonts/fa-solid-900.woff2take around 5935ms to load.i am not sue i need specific settings in nginix reverse proxy or problem in shiori that create conflict.
Notes
if i open this directly with ip fonts load fast.
@fmartingr commented on GitHub (Jun 9, 2024):
How did you measure page load? Can you provide your nginx config and logs?
@Monirzadeh commented on GitHub (Jun 10, 2024):
in Firefox
Web Developer tools->Performancetab withSettingsonNetworking.about ngnix proxy manager i don't use that for outside accesses. in this network just config for user in to use subdomain in this network that point to selfhosted service.
so
user --> router --> ngnix proxy manager ip (for example 192.168.1.10:80) --> forward to specific ip (for example 192.168.1.10:8080 that is ip of shiori in network)
in Ngnix proxy manager you can setup in
Proxy Hosts@fmartingr commented on GitHub (Aug 27, 2024):
Do you have asset caching enabled in your config? If shiori works well when accessing it directly but not using the nginx proxy manager in front of it, it's probably nginx fault or missconfiguration.
@Monirzadeh commented on GitHub (Aug 27, 2024):
when i active asset caching things get better (loading fonts have delay but better than before)
@fmartingr commented on GitHub (Aug 28, 2024):
Maybe something related to #968 ?