How to cache previous for turbo frames?

It seems cache previews for turbo frames don’t exist.

Cache previews for normal links works like this: If there is a snapshot cache for given page URL it will be shown until the live network requests sends the fresh renderable HTML.

But this is not true for trubo frames. The content inside the frame is not cached for that frame.

Does anybody know a trick to cache network responses for turbo-frames?

1 Like