Skip to content

Commit

Permalink
Merge pull request #22 from darron/turn-cache-down
Browse files Browse the repository at this point in the history
Let's turn the cache time down to 10 minutes.
  • Loading branch information
darron authored Nov 28, 2023
2 parents 18c0720 + cfeb0d5 commit 0c57ba0
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 0c57ba0

Please sign in to comment.