Adding bfcache to TurboLink forms

I created a library to enhance TurboLinks bfcache with forms to behave similar to browser bfcache and though some of you might be interested, especially considering Google Chromes recent browser release with enhanced bfcache (Back/forward cache).

see library:


Browsers today have bfcache (back/forward cache). Turbolinks essentially replaces this functionality and seems to behave similarly except when it comes to form inputs (text, select, checkboxes, etc). The functionality works like this:

Note: I acknowledge this forum to be a Stimulus forum, but with Stimulus relation to Turbolinks I thought some might be interested in a Turbolinks addon I created. If my comment is inappropriate for this forum, please feel free to remove.