symfony / ux

Symfony UX initiative: a JavaScript ecosystem for Symfony

Home Page:https://ux.symfony.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Turbo] Turbo Drive not working in production

Nikotecnology opened this issue · comments

Good morning,
we don't know exactly why turbo stopped working in production, when I click on a link it shows the turbo progress bar but redirects to the page and updates it completely. we already tried searching in our js files looking for prevent or something like that but we not found nothing. this only happens on the server, in fact if we try to put it in production mode locally and build it it works perfectly.

The website is running on docker (not symfony-docker) with php 8.2.16 and the node lts version, the packages are all the latest version running on symfony 6.4.*

P.S. i saw either some posts that suggest to disable Cloudflare RocketLoader or Google Analytics, we either disabled them but with no results, it does the same thing

Which version of Turbo is running? So it's TurboDrive the issue here?

Yeah it's turbo drive as in the title, the version of turbo is: "^7.1.1 || ^8.0" (this is the string from the package.json)

Hummm it's hard to know what's going on. Yeap look for a script that you have in prod that can mess with turbo sound for me the best clue... Sorry I can't help more here, if you manage to make a small reproducer we can have a deeper look.