1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Litespeed sends text/html with CSS 304 responses

Discussion in 'Resolved Bug Reports' started by Mike, Jul 6, 2013.

  1. Mike

    Mike XenForo Developer Staff Member

    The issue here manifests itself as refreshing (in Chrome) lose the CSS. This issue appears to be specific to Litespeed, and as far as I know, they've acknowledged it as a bug and have a patch.

    However, in XenForo, you can change library/XenForo/CssOutput.php:
    header('HTTP/1.1 304 Not Modified', true, 304);
    header('Content-type: text/css; charset=utf-8', true, 304);
    DeltaHF, Divvens, Corey and 1 other person like this.
  2. account8226

    account8226 Guest

    I have a bug with Litespeed and TaigaChat (chatbox add-on, that stores the messages in a html file).

    When I update from Litespeed 4.1.13 to Litespeed > 4.2, sometimes, when my members sends messages in the shoutbox, there is like one times out of 10 a javascript error "logged in the console". But in the console, I only have the whole taigachat.html file where the messages are stored. So I must stay in 4.1.13.

    Do you think it can be because of this ?

    Thanks for the fix btw.
    RoldanLT likes this.
  3. RoldanLT

    RoldanLT Well-Known Member

    Thank you so much @Mike (y)

Share This Page