Test and fix for #1919

Fixes #1919

Cache is ignored when `?preview` is in the GET querystring