about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-02-27 05:06:05 +0000
committerbors <bors@rust-lang.org>2021-02-27 05:06:05 +0000
commit0846043440b480e4bbf36ac19db3948f0c835bb1 (patch)
treee25be091fb649abb3b3d76c994da6fbbca029eb7 /compiler/rustc_codegen_llvm/src
parent9fa580b1175018b0a276b0bc68f9827a106f7260 (diff)
parent51a14c7265971d4a2ab93d5aca82eb0d4261c034 (diff)
downloadrust-0846043440b480e4bbf36ac19db3948f0c835bb1.tar.gz
rust-0846043440b480e4bbf36ac19db3948f0c835bb1.zip
Auto merge of #82511 - jsha:fix-bfcache2, r=GuillaumeGomez
Fix back-forward cache in rustdoc frontend

Rustdoc's frontend set a no-op unload handler, specifically to disable
Firefox's back-forward cache because it caused a bug. It's nice to
allow the back-forward cache because it permits faster navigations.

This change addresses the issues that were caused by back-forward cache.

https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/1.5/Using_Firefox_1.5_caching
https://web.dev/bfcache/

Demo: https://jacob.hoffman-andrews.com/rust/fix-bfcache/std/string/struct.String.html

Related: #72272
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions