Hotwire Discussion

Data-turbo-cache doesn't work?

So, according to this version of turbo Release v7.0.0-beta.8 · hotwired/turbo (github.com).

You can attach a data-turbo-false=false to elements to make them avoid the snapshot. I’ve added them to the flash component i have. But, for some reason it stays cached and if i do the turbo stream update and refresh(browser refresh). i still see the component, any ideas why this might occur?

thanks.

I’ve found this answer to help out Flash messages with Turbo - #2 by tleish