Skip to content

CodingShower

  • Home
  • About
Skip to content

CodingShower

All Things Software

Tag: bfcache

Prevent Web Page Content Being Displayed or Loaded From Browser Back/Forward Cache (Disable bfcache)

Posted on February 22, 2022February 23, 2022 by Rick

Currently, the most effective way to disable bfcache or basically prevent page contents (html, css, javascript, images, etc.) from being served by the back-forward cache is by making use of the Cache-Control HTTP header. Configure your web server to send this in the response headers of your web page (HTML document): No need to send […]

0

Browser Back/Forward Button History Navigation Cache (bfcache)

Posted on February 22, 2022April 3, 2022 by Rick

According to Chrome usage data, 10% of browser navigation on desktop and 20% on mobile are simple user initiated back and forth! Imagine the massive internet bandwidth usage or data transfer caused by all the backward and forward button clicks loading all kinds of static assets like html, css, javascript, images, fonts, etc. This unnecessary […]

0