Running it through dos2unix did the trick. So what's the background on this problem? It's strange that it would affect my CSS file but not JS files from the same static folder, all created and saved using Vim with "set ff=unix"
Thomas On Oct 27, 3:44 pm, Kari Hoijarvi <[EMAIL PROTECTED]> wrote: > I just run a script that changes static text files to have plain lf > endings. > > Kari > > tmallen wrote: > > Probably; I'm stuck on a Windows box at the office right now. Granted, > > it's a better place to be than on my Mac where MySQLdb doesn't > > install. How do you get around this bug typically? I don't get this > > problem with any other files, all of which are created on the same > > computer. > > > On Oct 27, 3:31 pm, Kari Hoijarvi <[EMAIL PROTECTED]> wrote: > > >> Could this be the the cr+lf bug in module os? > > >> When serving from Windows, I have to change static file line endings to > >> plain lf-convention, cr-lf gives wrong content length and times out. > > >> Kari > > >> tmallen wrote: > > >>> * I meant that it takes 10s longer with the line, and loads instantly > >>> (like normal) without that line. > > >>> On Oct 27, 3:02 pm, tmallen <[EMAIL PROTECTED]> wrote: > > >>>> If I remove a CSS call from my template header, my page takes about > >>>> ten seconds to load. Remove this line, and pages will load instantly. > >>>> Is there some weird CSS "gotcha" I'm missing? Note that the CSS file > >>>> is three lines long, and the server doesn't log any errors in the > >>>> process. > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web.py" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/webpy?hl=en -~----------~----~----~----~------~----~------~--~---
