Etags and last-modified over https SSL?

前端 未结 1 674
旧巷少年郎
旧巷少年郎 2020-12-31 14:35

Is it possible to use HTTP caching for conditional GET requests over a secure HTTPS connection? I\'ve got caching working over non-secure HTTP, but when I switch to HTTPS th

1条回答
  •  醉梦人生
    2020-12-31 14:53

    Figured it out! Turns out you have to have a trusted certificate. I was using my self-signed test certificate for SSL HTTPS. Adding it to my keychain and turning it green made the caching work.

    0 讨论(0)
提交回复
热议问题