CSS halting site if bigger than 14.4K

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Kevin Audleman

    CSS halting site if bigger than 14.4K

    Yesterday my site unexpectedly stopped loading. I tracked it down to
    the CSS file for the site. When I commented it out, the site was okay.
    When I put it back in, it was not. I tried connecting to the server
    via Dreamweaver and opening the CSS file and received a download
    error. I noticed that it was getting to 14.6K / 15.2K before failing.
    So I went in via the command line and deleted from the end of the CSS
    file until it was smaller than 14.6K. The site now works like a charm,
    minus my missing style elements.

    Next I tried creating a second style sheet (styles2.css), appending
    the ~50 lines I had deleted, and linking to it in addition to the
    original file. Again, the site stopped responding. I started cutting
    out style elements and once I got beneath a certain threshold, the
    site would start loading. It didn't matter which elements I cut, just
    as long as I didn't have too many.

    Any insight into what is going on here? Is there some kind of size
    limit of CSS files? This is Apache/PHP on a Fedora Core 3 Linux box.

    Thank you,
    Kevin

  • Rik

    #2
    Re: CSS halting site if bigger than 14.4K

    Kevin Audleman <kevin.audleman @gmail.comwrote :
    Yesterday my site unexpectedly stopped loading. I tracked it down to
    the CSS file for the site. When I commented it out, the site was okay.
    When I put it back in, it was not. I tried connecting to the server
    via Dreamweaver and opening the CSS file and received a download
    error. I noticed that it was getting to 14.6K / 15.2K before failing.
    So I went in via the command line and deleted from the end of the CSS
    file until it was smaller than 14.6K. The site now works like a charm,
    minus my missing style elements.
    >
    Next I tried creating a second style sheet (styles2.css), appending
    the ~50 lines I had deleted, and linking to it in addition to the
    original file. Again, the site stopped responding. I started cutting
    out style elements and once I got beneath a certain threshold, the
    site would start loading. It didn't matter which elements I cut, just
    as long as I didn't have too many.
    >
    Any insight into what is going on here? Is there some kind of size
    limit of CSS files? This is Apache/PHP on a Fedora Core 3 Linux box.
    >
    Thank you,
    Kevin
    1. Can you create an online example of this in action?
    2. What browser do you check it with?
    3. This works here: <http://rwasmus.nl/test.html>
    (CSS: 18,322 B, HTML 21,683B)

    --
    Rik Wasmus

    Comment

    • Andy Dingley

      #3
      Re: CSS halting site if bigger than 14.4K

      On 7 Feb, 00:45, "Kevin Audleman" <kevin.audle... @gmail.comwrote :
      Yesterday my site unexpectedly stopped loading.
      So tell us the URL. We can't diagnose weird server-related stuff like
      this without it.

      Comment

      Working...