Skip to content

Commit

Permalink
Add cache rule for plex-login command
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Jan 1, 2025
1 parent 2af83b7 commit 25fd31a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plextraktsync/config/HttpCacheConfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ class HttpCacheConfig:
# Cache for some time, this activates 304 responses
"plex.tv/users/account": "1m",
"plex.tv/api/v2/user": "1m",
# plex-login command
"plex.tv/api/v2/resources?includeHttps=1&includeRelay=1": "1m",
# Plex patterns
# Ratings search
"*/library/sections/*/all?*userRating%3E%3E=-1*": "1m",
Expand Down

0 comments on commit 25fd31a

Please sign in to comment.