mirror of
https://github.com/portainer/portainer.git
synced 2025-07-25 00:09:40 +02:00
fix(cache): add a cache validity mechanism (#1527)
This commit is contained in:
parent
8e40eb1844
commit
e0b09f20b0
2 changed files with 56 additions and 23 deletions
|
@ -11,4 +11,5 @@ angular.module('portainer')
|
|||
.constant('API_ENDPOINT_TEAM_MEMBERSHIPS', 'api/team_memberships')
|
||||
.constant('API_ENDPOINT_TEMPLATES', 'api/templates')
|
||||
.constant('DEFAULT_TEMPLATES_URL', 'https://raw.githubusercontent.com/portainer/templates/master/templates.json')
|
||||
.constant('PAGINATION_MAX_ITEMS', 10);
|
||||
.constant('PAGINATION_MAX_ITEMS', 10)
|
||||
.constant('APPLICATION_CACHE_VALIDITY', 3600);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue