 <p>To answer the edit part : </p> <p>adding a pre-slash to my css routes fixed the problem.</p> <p>ie from href="something/myfile.css" to href="/something/myfile.css"</p> <p>I don't really understand why though.</p>