3 ms·
This is the second time today I've read a HN comment saying that HTTPS and caching are incompatible. Can you explain what you mean by this? I don't understand
by madeofpalk 2y ago
This is the second time today I've read a HN comment saying that HTTPS and caching are incompatible.
Can you explain what you mean by this? I don't understand what you're saying (it seems obviously incorrect?)
- 1oooqooq 2y agovisit any page which should be cached. click any link. unplug. click back. dead end instead of cached page. cache only works on https for extra assets. which is useless if you have a simple static site anyway
- duckmysick 2y agoI just tested it. Can't replicate. Went to https://example.com https://example.com, checked that it's cached in the inspector, clicked on the More information link which leads to https://www.iana.org/domains/example https://www.iana.org/domains/example, unplugged my connection (went offline), clicked back. It showed the cached https://example.com https://example.com. I clicked forward. It showed the cached https://www.iana.org/domains/example https://www.iana.org/domains/example page. Clicked back/forward like a maniac, the pages switched seamlessly. Repeated the same process on a non-cacheable page, it showed a dud when disconnected as expected. Tested on Firefox and Chromium.