Server Version#: 1.32.7.7571
Player Version#: Web 4.108.0
This is essentially a follow-up to this one here => Plex HTPC/Web slow item loading (closed)
I noticed the slow loading of items on my server just recently again. Unfortunately, I have no idea which server version introduced this behavior again… The server hw has not changed.
Items sometimes need over 2s to fully load. => benchmarked with the “show XML info” in plex web gui. The console would then show:
"Completed: [192.168.1.110:64877] 200 GET /library/metadata/11528? checkFiles=1&includeAllConcerts=1&includeBandwidths=1&includeChapters=1&includeChildren=1&includeConcerts=1&includeExtras=1&includeFields=1&includeGeolocation=1&includeLoudnessRamps=1&includeMarkers=1&includeOnDeck=1&includePopularLeaves=1&includePreferences=1&includeRelated=1&includeRelatedCount=1&includeReviews=1&includeStations=1 (11 live) #5467 TLS GZIP 2201ms 15298 bytes (pipelined: 1)"
… 2201ms… well… This number is huge… and also feelable in apps like Plex HTPC, where movie loading takes an eternity (2s…)
The fix for this is to refresh the metadata of the affected item…
Then loading only takes 1/10 the time…
Somehow this behavior is especially noticeable on newly added files… I have already run the PlexDBRepair tool (GitHub - ChuckPa/PlexDBRepair: Database repair utility for Plex Media Server databases) but that had no impact. Absolutely no idea why it is that slow…
What could be the reason for this slowness?
If the server logs are needed, let me know!