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
htoooth
8 years ago
Commit
25c029b65686aa12861eca80c642b3979e12c7e9
1 parent
559d73de
fix cache url
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
config/cache.js
config/cache.js
View file @
25c029b
...
...
@@ -8,12 +8,14 @@ const cachePage = {
// 频道页
'/'
:
30
*
SECOND
,
'/woman'
:
30
*
SECOND
,
'/kids'
:
30
*
SECOND
,
'/lifestyle'
:
30
*
SECOND
,
'/woman/'
:
30
*
SECOND
,
'/girls/'
:
30
*
SECOND
,
'/kids/'
:
30
*
SECOND
,
'/lifestyle/'
:
30
*
SECOND
,
// 商品详情页
'/product/\\/pro_([\\d]+)_([\\d]+)\\/(.*)/'
:
30
*
MINUTE
,
//'/product/\\/pro_([\\d]+)_([\\d]+)\\/(.*)/': 30 * MINUTE,
'/product/\\/p([\\d]+)(.*)/'
:
30
*
MINUTE
,
// 逛
'/guang/'
:
1
*
MINUTE
,
...
...
Please
register
or
login
to post a comment