New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Styles in the head are not loaded #8
Comments
By the looks of it the code assumes the It just takes anything within the Perhaps it could assess if there are changes in style sheets and if necessary preload & swap them in. |
InstantClick only changes the I realize now that the website doesn’t talk about that (it only says it’s the same mechanism as pjax), I’ll change that soon. Sorry! |
I see. Turbolinks has a |
Yup, tracking asset changes should come. On Sunday, February 9, 2014, Pedro Kostelec notifications@github.com
|
@dieulot Wouldn't be useful an option to change the head too? I have the same problem. |
Nope, it would load the stylesheets after the body is displayed, giving an unpleasant flash of wrongly-styled content in the beginning. I don’t have a good solution to suggest to sites using different stylesheets on different pages, and I’m not sure we’ll ever find a silver bullet. Only a rearchitecture of one’s stylesheets will do. |
Yeah, so definitely I have to load same CSS on all pages. Thanks for feedback. |
The stylesheets, when included in the
<head>
are not loaded when the page is displayed. I had to include them in the<body>
for them to be loaded.The text was updated successfully, but these errors were encountered: