Allegro.cc - Online Community

Allegro.cc Forums » Allegro.cc Comments » Forum / HTML updates

This thread is locked; no one can reply to it. rss feed Print
Forum / HTML updates
spellcaster
Member #1,493
September 2001
avatar

Not sure what's causing it, but lately I can see the individual table rows appear on the recent threads page - like rendering a single line will take pretty long (Using firebird on winXP).

It's not a real problem, I was just wondering... did you change anything lately? I didn't have the effect before today.

--
There are no stupid questions, but there are a lot of inquisitive idiots.

Matthew Leverton
Supreme Loser
January 1999
avatar

That is most likely because the table columns all have fixed widths now, and the browser is more confident to display them as it reads them.

Marcello
Member #1,860
January 2002
avatar

matthew: do you use any kind of output buffering? I've found that makes pages load faster sometimes...

Marcello

Matthew Leverton
Supreme Loser
January 1999
avatar

Everything is buffered, because I use it to do some templating magic. (Which, I never ended up using like I planned on, so it's just a waste of CPU as it is...)

But, the real buffering happens because I use the gzip compression handler to minimize page size.

Marcello
Member #1,860
January 2002
avatar

Actually, gzip handler doesn't necessarily mean the page will be buffered, if there are any flushes (dunno about implicit flushes), it will encode/compress everything it has and spit it out then, rather than waiting for everything and spitting it out after.

This is what I've found, anyway...

Though now I just use mod_deflate or whatever it is called on apache 2.

Marcello

Matthew Leverton
Supreme Loser
January 1999
avatar

Well, it basically goes like this:

  • start buffer

  • template_add(POLL); // etc

  • echo "html content";

  • end buffer

  • process template, inserting "html content" into the proper place in the template

(At this point the browser has received nothing.)

  • echo $buffer; // the results of the processed template all sent to gzip with one statement

So basically, the content is all sent through the gzip handler with one final echo. Whether or not that's sent in xK sized chunks, I don't know.

Richard Phipps
Member #1,632
November 2001
avatar

Matthew, not sure if you are aware of this, but when ever I now go to any forum page it's drawn twice. Once in a different font then normal with none of the outline boxs around each post, and then in the normal view.

It looks like the first view is almost a text based view as I can see blue highlighted links for each post for a split second before it changes to the normal view.

Thomas Fjellstrom
Member #476
June 2000
avatar

That can happen if your browser doesn't apply the CSS till its already downloaded and rendered the page (which I've seen... probably IE.)

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

Richard Phipps
Member #1,632
November 2001
avatar

I'm using IE 6.0. But this didn't happen before, only now...

spellcaster
Member #1,493
September 2001
avatar

Um... how do I get the forum to look like yesterday again?
I guess you changed the css again... which is ok, I guess... but I liked it better the way it was before... the blue, large "posted on ..." link now interrupts the page.

If you could upload that old css somewhere I could use it as my personal css file.

--
There are no stupid questions, but there are a lot of inquisitive idiots.

Thomas Fjellstrom
Member #476
June 2000
avatar

its not blue, nor is it large :o at least for me...

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

spellcaster
Member #1,493
September 2001
avatar

That's how it looks here (firebird, XP)
And it wasn't blue and large yesterday...

--
There are no stupid questions, but there are a lot of inquisitive idiots.

Richard Phipps
Member #1,632
November 2001
avatar

That large blue text is still small and grey here.. :o

spellcaster
Member #1,493
September 2001
avatar

It also seems like the left column (Name, Memeber, etc) Looks different than a) yesterday and b) the other text.

--
There are no stupid questions, but there are a lot of inquisitive idiots.

Richard Phipps
Member #1,632
November 2001
avatar

almost like a progranism is loose in the system?

Thomas Fjellstrom
Member #476
June 2000
avatar

This is what it looks like for me...

--
Thomas Fjellstrom - [website] - [email] - [Allegro Wiki] - [Allegro TODO]
"If you can't think of a better solution, don't try to make a better solution." -- weapon_S
"The less evidence we have for what we believe is certain, the more violently we defend beliefs against those who don't agree" -- https://twitter.com/neiltyson/status/592870205409353730

spellcaster
Member #1,493
September 2001
avatar

Yep.. that was how it looked yesterday for me aswell.

--
There are no stupid questions, but there are a lot of inquisitive idiots.

Matthew Leverton
Supreme Loser
January 1999
avatar

Hit CTRL-F5. The CSS is now cached on a 24-hour period, so your browser doesn't even attempt to redownload it (10K) on every page view. Nothing has changed drastically from yesterday, in the terms of final appearence.

As far as rendering goes, I've tested it on Opera, MSIE, and Firefox on my slow modem link, and it renders no differently for me than it did before the CSS tweaks...

Inphernic
Member #1,111
March 2001

Quote:

Some pages that use the CSS @import rule experience a curious display quirk in the Windows version of MS Internet Explorer: a momentary flash of unstyled page content.

http://www.bluerobot.com/web/css/fouc.asp

Also includes a 'fix' to the problem.

Oscar Giner
Member #2,207
April 2002
avatar

This one much nicer. Half without css, the other half with css :o

(Note for the blue color: I was using my stylesheet).

23yrold3yrold
Member #1,134
March 2001
avatar

Hmmm. I guess now pages don't automatically reload when I go back and forward in my history anymore, eh?

--
Software Development == Church Development
Step 1. Build it.
Step 2. Pray.

Matthew Leverton
Supreme Loser
January 1999
avatar

Quote:

Hmmm. I guess now pages don't automatically reload when I go back and forward in my history anymore, eh?

No, I finally found some cache settings that seem to work across the major browsers. When a link is clicked, a new page will be generated - but back/forward is now usable. That should be the expected functionality - it makes browsing on slow links a lot nicer...

Kanzure
Member #3,669
July 2003
avatar

I've missed something. The "Posted On" text is.. too small for my likeing. It's not as shown in the last attachement by Thomas. I liked it the older way. Is the older CSS file for that somewhere, so I can set my settings?

Matthew Leverton
Supreme Loser
January 1999
avatar

Just create your own CSS, and import the a.cc one above it.

Marcello
Member #1,860
January 2002
avatar

matthew: care to share code? :)

Marcello



Go to: