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 16, 2025
1 parent cb6745e commit c4ec304
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": "15m",
# plex-login command
"plex.tv/api/v2/resources?includeHttps=1&includeRelay=1": "1m",
# Plex patterns
# Ratings search
"*/library/sections/*/all?*userRating*=-1*": "10s",
Expand Down

0 comments on commit c4ec304

Please sign in to comment.