volto icon indicating copy to clipboard operation
volto copied to clipboard

Browser detection during SSR ends up being cached

Open pnicolli opened this issue 1 year ago • 0 comments

Describe the bug Browser detection, when done during server side rendering, can end up in cached html results, therefore showing the "Outdated Browser" message to everybody.

To Reproduce

  1. Have Varnish cache html
  2. Open website with IE
  3. Open again in a modern browser

Expected behavior We should probably handle browser detection on the client and render the "Outdated Browser" message accordingly

pnicolli avatar Sep 23 '22 09:09 pnicolli