You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since Turbo v7.1.0-rc.3, I've some issues when Turbo cache is opting out (<meta name="turbo-cache-control" content="no-cache">).
When I go to previous pages with back and forward buttons of my Web browser (Firefox or Chromium) a full page (from the latest Turbo Drive or full page navigation) is restored instead of the expected Turbo Frame.
The pull request #466 seems to fix this issue as well, but I need to do more tests...
Edit: OK, the pull request definitively fix this issue, many thanks @seanpdoyle 🎉
Hi folks,
Since Turbo v7.1.0-rc.3, I've some issues when Turbo cache is opting out (
<meta name="turbo-cache-control" content="no-cache">
).When I go to previous pages with back and forward buttons of my Web browser (Firefox or Chromium) a full page (from the latest Turbo Drive or full page navigation) is restored instead of the expected Turbo Frame.
How to reproduce this issue:
Git clone this repository: https://github.com/gorails-screencasts/422-hotwire-datatables
In the
app/views/layouts/application.html.erb
file add this line<meta name="turbo-cache-control" content="no-cache">
, like this:In the
Gemfile
file, replace this line:By this one:
Adjust the
username
,password
anddatabase
name in theconfig/database.yml
fileSetup the Rails application, just run
./bin/setup
, then./bin/rails db:seed
, then./bin/rails server
, then hit http://localhost:3000Finally, click on the different headers of the Employees table (
Position
,Age
,Start Date
...), then hit theBack
button of your Web browserHave a good day,
Tortue Torche
The text was updated successfully, but these errors were encountered: