Hotwire Discussion

Avoiding snapshot from cache per element

Hello. So, i want to make elements as a not to be cahced. This pull request seems to introduce such thing. But, it does not work for me.

I’ve found out that by using

  <meta name="turbo-cache-control" content="no-cache">

i can opt-out of the preview that turbo uses. Is it possible to only use the no-cache directive on a per element basis?