Skip to content

Commit

Permalink
test file api cache
Browse files Browse the repository at this point in the history
  • Loading branch information
behroozbc committed Jul 12, 2023
1 parent 940884b commit 46b98ad
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion ngsw-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,28 @@
"strategy": "performance"
}
},
{
"name": "history",
"urls": [
"https://kdz.ir/fa/?json=get_page&id=1036"
],
"cacheConfig": {
"maxSize": 50,
"maxAge": "30d",
"strategy": "performance"
}
},
{
"name": "user-images",
"urls": [
"https://api.kdz.ir/api/v1/files/show/**"
],
"cacheConfig": {
"maxSize": 100,
"maxAge": "5d",
"strategy": "performance"
}
},
{
"name": "outer-images",
"urls": [
Expand All @@ -76,4 +98,4 @@
}
}
]
}
}

0 comments on commit 46b98ad

Please sign in to comment.