Skip to content

Commit

Permalink
Let's turn the cache time down to 10 minutes.
Browse files Browse the repository at this point in the history
  • Loading branch information
darron committed Nov 28, 2023
1 parent 18c0720 commit cfeb0d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ var (
// Middleware Cache settings
cacheCapacity = 10000
cacheRefreshKey = "opn" // ?$cacheRefreshKey=true to a page to force a refresh
cacheTTL = 30 * time.Minute
cacheTTL = 10 * time.Minute
nonCachedPaths = []string{"/api"}
)

Expand Down

0 comments on commit cfeb0d5

Please sign in to comment.