You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is with Cache-Control: no-cache, must-revalidate, despite backend supporting (and sending) ETag and Last-modified headers, browsers will not even try to make conditional request to revalidate cache (as described for Request.cache).
Possible solutions:
Updating WasmHelper.js to use fetch() instead of XHR.
Fix Service Worker own caching to actually make it offline-capable.
Setting Cache-Control: max-age=60, must-revalidate should resolve this issue. CDN-Cache-Control could be used alongside.
The text was updated successfully, but these errors were encountered:
Symptom:
Nimiq Keyguard takes some time to load and display password prompt on every occurrence.
Reason:
Each of following URLs is being downloaded 5(!) times each time Nimiq Hub is opened:
The problem is with
Cache-Control: no-cache, must-revalidate
, despite backend supporting (and sending)ETag
andLast-modified
headers, browsers will not even try to make conditional request to revalidate cache (as described for Request.cache).Possible solutions:
WasmHelper.js
to usefetch()
instead of XHR.Cache-Control: max-age=60, must-revalidate
should resolve this issue.CDN-Cache-Control
could be used alongside.The text was updated successfully, but these errors were encountered: