Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
arsnova-click-v2-frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
ARSnova
arsnova-click-v2-frontend
Commits
2b7ca259
Commit
2b7ca259
authored
May 12, 2019
by
Christopher Mark Fullarton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Finetunes the ngsw config
parent
7746a692
Pipeline
#25865
passed with stages
in 12 minutes and 34 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
27 deletions
+23
-27
arsnova-click-v2-frontend.iml
arsnova-click-v2-frontend.iml
+1
-1
ngsw-config.json
src/ngsw-config.json
+22
-26
No files found.
arsnova-click-v2-frontend.iml
View file @
2b7ca259
...
...
@@ -5,7 +5,7 @@
<content
url=
"file://$MODULE_DIR$"
>
<sourceFolder
url=
"file://$MODULE_DIR$/src/assets"
isTestSource=
"false"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/dist"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/src/assets/js
/highslide
"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/src/assets/js"
/>
<excludeFolder
url=
"file://$MODULE_DIR$/tmp"
/>
</content>
<orderEntry
type=
"inheritedJdk"
/>
...
...
src/ngsw-config.json
View file @
2b7ca259
...
...
@@ -6,8 +6,8 @@
"installMode"
:
"prefetch"
,
"resources"
:
{
"files"
:
[
"/assets/i18n/**"
,
"/index.html"
,
"/*.css"
,
"/*.js"
]
}
...
...
@@ -18,48 +18,44 @@
"updateMode"
:
"prefetch"
,
"resources"
:
{
"files"
:
[
"/assets/js/**"
]
}
},
{
"name"
:
"assets-deferred"
,
"resources"
:
{
"urls"
:
[
"/assets/fonts/**"
,
"/assets/i18n/**"
,
"/assets/images/**"
,
"/assets/js/**"
,
"/assets/serverEndpoint.json"
"/assets/images/**"
]
}
}
],
"dataGroups"
:
[
{
"name"
:
"styles"
,
"urls"
:
[
"**/*.css"
],
"cacheConfig"
:
{
"maxSize"
:
0
,
"maxAge"
:
"0u"
,
"strategy"
:
"freshness"
}
},
{
"name"
:
"api"
,
"name"
:
"api-freshness"
,
"urls"
:
[
"/api"
,
"/backend"
"/backend"
,
"https://polyfill.io/**"
],
"cacheConfig"
:
{
"maxSize"
:
0
,
"maxAge"
:
"0u"
,
"strategy"
:
"freshness"
"strategy"
:
"freshness"
,
"maxSize"
:
100
,
"maxAge"
:
"3d"
,
"timeout"
:
"10s"
}
},
{
"name"
:
"
polyfill.io
"
,
"name"
:
"
api-performance
"
,
"urls"
:
[
"
https://polyfill.io/**
"
"
/*.css
"
],
"cacheConfig"
:
{
"
maxSize"
:
0
,
"max
Age"
:
"0u"
,
"
strategy"
:
"freshness
"
"
strategy"
:
"performance"
,
"max
Size"
:
100
,
"
maxAge"
:
"3d
"
}
}
]
...
...
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