收藏
回答

安卓<image>标签图片Cache-Control, Expires, 均无效, 如何节省流量?

标签图片缓存策略是什么?

安卓标签Cache-Control, Expires, 均无效, 如何节省流量?

iOS 与微信开发者工具

Cache-Control, Expires, 均可正常生效

Request URL: https://img.com/images/5531010307919/full/31_1596360307578.jpg
Request Method: GET
Status Code: 200 OK (from disk cache)

ReferrerPolicy: no-referrer-when-downgrade
Response Headers
view source
Accept-Ranges: bytes
Cache-Control: max-age=2592000
Content-Length: 442134
Content-MD5: UBinvRJdtxsYpBawDMu2ZQ==
Content-Type: image/jpeg
Date: Tue, 04 Aug 2020 07:43:47 GMT
ETag: "5018A7BD125DB71B18A416B00CCBB665"
Last-Modified: Sun, 02 Aug 2020 09:25:07 GMT
Server: AliyunOSS

x-oss-object-type: Normal
x-oss-request-id: 5F2911B376DB4E3733D638DB
x-oss-server-time: 2
x-oss-storage-class: Standard
回答关注问题邀请回答
收藏

1 个回答

  • 社区技术运营专员-娇华
    社区技术运营专员-娇华
    2020-08-05

    你好,安卓下是x5内核还是xweb内核出现问题?【给一下useragent即可】

    2020-08-05
    有用
    回复 1
    • 明天见
      明天见
      2020-08-05
      user_agent: Mozilla/5.0 (Linux; Android 10; GM1910 Build/QKQ1.190716.003; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/78.0.3904.62 XWEB/2575 MMWEBSDK/200701 Mobile Safari/537.36 MMWEBID/8255 MicroMessenger/7.0.17.1720(0x27001137) Process/appbrand4 WeChat/arm64 NetType/WIFI Language/zh_CN ABI/arm64
      vpc_addr: 715541880

      这个UA在设置Cache-Control, Expires后均无效, 每次都会重新下载图片
      2020-08-05
      回复
登录 后发表内容
问题标签