Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
姜枫
8 years ago
Commit
2ef09a687875fd6f27a45aea6159bda8106d3c25
1 parent
2683fec3
add cache key
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
config/cache.js
config/cache.js
View file @
2ef09a6
...
...
@@ -40,6 +40,7 @@ const cachePage = {
'/product/sale/breakingYards'
:
5
*
MINUTE
,
'/product/sale/newSale'
:
5
*
MINUTE
,
'/product/sale/discount/detail'
:
5
*
MINUTE
,
'/product/sale/special/detail'
:
5
*
MINUTE
,
'/product/outlet'
:
30
*
SECOND
,
...
...
@@ -53,7 +54,7 @@ const cachePage = {
'/brands/'
:
5
*
MINUTE
,
'/brands/plusstar'
:
5
*
MINUTE
,
'/
special/(\\d+)_(.*)\\.html
'
:
5
*
MINUTE
'/
^\\/special\\/(\\d+)_(.*)\\.html$/
'
:
5
*
MINUTE
};
...
...
Please
register
or
login
to post a comment