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
Plain Diff
Browse Files
Authored by
yyq
8 years ago
Commit
41a3203eb9d2d3a8cc06001ca1dd617aeeb3e1e8
2 parents
6a0bcbad
b0098b7c
Merge branch 'feature/suggestItem' into gray
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
config/cache.js
config/cache.js
View file @
41a3203
...
...
@@ -3,6 +3,7 @@
const
SECOND
=
1
;
const
MINUTE
=
60
*
SECOND
;
const
DAY
=
86400
*
SECOND
;
const
cachePage
=
{
...
...
@@ -57,7 +58,8 @@ const cachePage = {
'/brands/'
:
5
*
MINUTE
,
'/brands/plusstar'
:
5
*
MINUTE
,
'/^\\/special\\/(\\d+)_(.*)\\.html$/'
:
5
*
MINUTE
'/^\\/special\\/(\\d+)_(.*)\\.html$/'
:
5
*
MINUTE
,
'/\\/product\\/search\\/keyword(.*)/'
:
7
*
DAY
};
...
...
Please
register
or
login
to post a comment