After I've precompiled assets and uploaded them to CDN I decided to turn on turbolinks. They were kind of turned on before when I were precompiling assets, that is I had gem turbolinks
in Gemfile and require turbolinks
in application.js
but in application.html
I had data-no-turbolink
instead of data-turbolinks-track" => true
.
Now I change it to data-no-turbolink
to data-turbolinks-track" => true
and expect them to work in production on the my local machine but it seems they aren't. Visually it seems they aren't working and "initiator" in the browser isn't turbolinks.
I don't want to recompile the assets if it's not really needed because reuploading them to CDN takes a lot of time.
So do I have to recompile them? Or perhaps I just don't notice that they are really working already?
Not easy with the sparse information you provide. But here are some notes worth considering:
About Turbolinks:
You probably use jQuery? Read above link to understand. A good solution is this one: jQuery.turbolinks