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
The HTML head section might contain link elements like favicons and preload. Turbo replace them on every transition and browsers reloading them in that case. Depending on the browser and privacy settings, this results in local cache or additional fetch request. Turbo should handle them like scripts, compare the signature and only remove/create them on changes.
Not sure if there is a way to create a workaround. The turbo:before-render event provides only access to the body and not the head. Any suggestions how to handle this?
The text was updated successfully, but these errors were encountered:
Thanks for the great turbo project!
The HTML head section might contain link elements like favicons and preload. Turbo replace them on every transition and browsers reloading them in that case. Depending on the browser and privacy settings, this results in local cache or additional fetch request. Turbo should handle them like scripts, compare the signature and only remove/create them on changes.
Example HTML:
Not sure if there is a way to create a workaround. The
turbo:before-render
event provides only access to the body and not the head. Any suggestions how to handle this?The text was updated successfully, but these errors were encountered: