Skip to content

Commit

Permalink
✔ Fix Caching 🤬
Browse files Browse the repository at this point in the history
  • Loading branch information
bifeldy committed May 29, 2023
1 parent b74632d commit 039a5c3
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion dist/fansubid/browser/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<noscript>🎉 Harap Menyalakan JavaScript Untuk Dapat Mengakses Website Ini ✨</noscript>
</div>
<app-root></app-root>
<script src="runtime.a0586de00eb2ab3a.js" type="module"></script><script src="polyfills.325a71d3e423341a.js" type="module"></script><script src="scripts.03e7a8120a25f41a.js" defer></script><script src="main.d8184b6d15f53797.js" type="module"></script>
<script src="runtime.a0586de00eb2ab3a.js" type="module"></script><script src="polyfills.325a71d3e423341a.js" type="module"></script><script src="scripts.03e7a8120a25f41a.js" defer></script><script src="main.40ea56a02dda44ba.js" type="module"></script>


</body></html>

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions dist/fansubid/browser/ngsw.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"configVersion": 1,
"timestamp": 1685365897409,
"timestamp": 1685371731799,
"index": "/index.html",
"assetGroups": [
{
Expand Down Expand Up @@ -41,7 +41,7 @@
"/common.107c3285552f6d2d.js",
"/favicon.ico",
"/index.html",
"/main.d8184b6d15f53797.js",
"/main.40ea56a02dda44ba.js",
"/manifest.webmanifest",
"/polyfills.325a71d3e423341a.js",
"/runtime.a0586de00eb2ab3a.js",
Expand Down Expand Up @@ -77,7 +77,7 @@
"strategy": "freshness",
"maxSize": 64,
"maxAge": 86400000,
"timeoutMs": 0,
"timeoutMs": 10000,
"cacheQueryOptions": {
"ignoreVary": true
},
Expand Down Expand Up @@ -114,8 +114,8 @@
"/960.cf76071ca1fb40b4.js": "7b413c0e87b4c1be4b7d993ac0e7404202d47786",
"/common.107c3285552f6d2d.js": "e1f9c0756607ac605f838f62bfd52cfa72453767",
"/favicon.ico": "071facb8fab2e4b3493dcfbb0b02d7bd21bca97e",
"/index.html": "259a648830023a23a04711580a881dc47cd54f96",
"/main.d8184b6d15f53797.js": "c07153f1284380d7d2bdd25cfc76450339fec316",
"/index.html": "da0b2290494effa87a2f0f7ec58f0ef22eba00d7",
"/main.40ea56a02dda44ba.js": "cd90a5b4ee14feb0803bf36c587a6cfd23913a13",
"/manifest.webmanifest": "eafb5426cdc9fd714787e5453af315b9972875a3",
"/polyfills.325a71d3e423341a.js": "18f8a8b77e7d11be1385d438c6d218cc68c0edb3",
"/runtime.a0586de00eb2ab3a.js": "ebeb7cd36997fff268811b7ab0f96a5a13ef3828",
Expand Down
2 changes: 1 addition & 1 deletion dist/fansubid/server/main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ngsw-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"cacheConfig": {
"maxSize": 64,
"maxAge": "1d",
"timeout": "0u",
"timeout": "10s",
"strategy": "freshness"
}
}
Expand Down
6 changes: 3 additions & 3 deletions src/app/_shared/services/api.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export class ApiService {
);
}

postData(path: string, model = {}, multipart = false, options = {}, timedOut = 60 * 1000): Observable<any> {
postData(path: string, model = {}, multipart = false, options = {}, timedOut = 30 * 1000): Observable<any> {
this.gs.log('[API_POST]', path);
let body = model;
if (multipart) {
Expand All @@ -54,7 +54,7 @@ export class ApiService {
);
}

putData(path: string, model = {}, multipart = false, options = {}, timedOut = 60 * 1000): Observable<any> {
putData(path: string, model = {}, multipart = false, options = {}, timedOut = 30 * 1000): Observable<any> {
this.gs.log('[API_PUT]', path);
let body = model;
if (multipart) {
Expand All @@ -66,7 +66,7 @@ export class ApiService {
);
}

patchData(path: string, model = {}, multipart = false, options = {}, timedOut = 60 * 1000): Observable<any> {
patchData(path: string, model = {}, multipart = false, options = {}, timedOut = 30 * 1000): Observable<any> {
this.gs.log('[API_PATCH]', path);
let body = model;
if (multipart) {
Expand Down

0 comments on commit 039a5c3

Please sign in to comment.