only generate preview output when the request is actually a preview