upper icon indicating copy to clipboard operation
upper copied to clipboard

Newer implementations of live preview do not bypass the cache

Open timkelty opened this issue 3 years ago • 3 comments

I think we just need to use getIsPreview instead: https://github.com/craftcms/cms/blob/develop/src/web/Request.php#L690

timkelty avatar Apr 29 '21 20:04 timkelty

Go ahead, @timkelty, bump the Craft version to ^3.2.1 and use Request::getIsPreview().

ostark avatar Apr 30 '21 14:04 ostark

@timkelty @ostark Hi! Just bumping this thread—was this solved in some other fashion? Happy to PR this, if it hasn't been tidied up just yet.

taylordaughtry avatar Dec 13 '21 16:12 taylordaughtry

@taylordaughtry Looks like it hasn't! Send a PR over and I'll merge with a smile.

timkelty avatar Dec 13 '21 16:12 timkelty