Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kityminder-core
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
吴志俊
kityminder-core
Commits
6f062454
Commit
6f062454
authored
Nov 17, 2014
by
techird
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no-cache
parent
76d1f0af
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
Gruntfile.js
Gruntfile.js
+12
-3
No files found.
Gruntfile.js
View file @
6f062454
...
@@ -131,12 +131,21 @@ module.exports = function(grunt) {
...
@@ -131,12 +131,21 @@ module.exports = function(grunt) {
}]
}]
},
},
n
oCache
:
{
pageN
oCache
:
{
src
:
distPages
,
src
:
distPages
,
overwrite
:
true
,
overwrite
:
true
,
replacements
:
[{
replacements
:
[{
from
:
/src=
\"(
.+
?)\.
js
\"
/ig
,
from
:
/
(
src|href
)
=
\"(
.+
?)\.(
js|css
)\"
/ig
,
to
:
'src="$1.js?_='
+
(
+
new
Date
())
+
'"'
to
:
'$1="$2.$3?_='
+
(
+
new
Date
())
+
'"'
}]
},
imageNoCache
:
{
src
:
'dist/ui/theme/default/css/default.all.css'
,
overwrite
:
true
,
replacements
:
[{
from
:
/
\.
png/ig
,
to
:
'.png?_='
+
(
+
new
Date
())
}]
}]
}
}
},
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment