Skip to content

Commit

Permalink
Merge pull request #183 from lidofinance/fix/delegation-cache-control
Browse files Browse the repository at this point in the history
fix: delegation page cache control
  • Loading branch information
AnnaSila authored Aug 26, 2024
2 parents e6b487f + 03f835e commit 8c7529b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export const CACHE_ALLOWED_LIST_FILES_PATHS = [
{ path: '/settings', headers: CACHE_HEADERS_HTML_PAGE },
{ path: /vote\/(.+)/, headers: CACHE_HEADERS_HTML_PAGE },
{ path: /dashboard\/(.+)/, headers: CACHE_HEADERS_HTML_PAGE },
{ path: /delegation\/(.+)/, headers: CACHE_HEADERS_HTML_PAGE },
]

// use only for cache files
Expand Down

0 comments on commit 8c7529b

Please sign in to comment.