Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
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
5312b2ec4cdcdd834475d6eec520a3a944ab1db5
1 parent
3d68d503
给ajax加page cache 30s
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
config/cache.js
config/cache.js
View file @
5312b2e
'use strict'
;
const
SECOND
=
1
;
...
...
@@ -43,6 +42,7 @@ const cachePage = {
// 秒杀列表
'/product/seckill'
:
30
*
SECOND
,
'/product/seckill/list'
:
30
*
SECOND
,
// 秒杀详情
'/product/^\\/seckill\\/pro_([\\d]+)_([\\d]+)/'
:
30
*
MINUTE
,
...
...
Please
register
or
login
to post a comment