You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/12/15 03:41:48 UTC

[GitHub] [cordova-android] jsbay commented on issue #1143: [HELP] How to intercept requests to local files

jsbay commented on issue #1143:
URL: https://github.com/apache/cordova-android/issues/1143#issuecomment-745032257


   Or is there a way to expand the cache capacity of the apk? 
   Now the font file has set `Response Headers`,like: 
   ```
   HTTP/1.1 200 OK
   Server: nginx
   Date: Tue, 15 Dec 2020 03:33:06 GMT
   Content-Type: application/octet-stream
   Last-Modified: Fri, 11 Dec 2020 07:50:37 GMT
   Vary: Accept-Encoding
   ETag: W/"5fd324cd-df70c"
   Expires: Wed, 15 Dec 2021 03:33:06 GMT
   Cache-Control: max-age=31536000
   Content-Encoding: gzip
   ```
   It will be cached in chrome browser by default
   ![](http://img.baymax.club/WeChat295688116e4de42652764891d8c84e88.png)
   But in the packaged apk, it seems that only a part of it is cached. 
   Does the apk limit the size of the cache capacity?
   If so, can I modify this limit? How?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org