Looking through forum.css, it seems like it's probably not necessary to include it on every page view. Doing so:

* slows down page generation with extra code getting called during the menu hook on every page.
* uses up needless bandwidth
* makes it take longer in some browsers for anything to show up on the page at all -- some browsers appear like they might wait until all the CSS is loaded before starting to display anything.

CommentFileSizeAuthor
#1 163092.patch1.05 KBWesley Tanaka

Comments

Wesley Tanaka’s picture

Status: Active » Needs review
StatusFileSize
new1.05 KB

This patch takes the css call out of forum_menu(FALSE) and puts it in

  • forum_view(), so that it gets included when an individual forum node appears somewhere and
  • forum_page(), so that it gets included on forum index pages
drumm’s picture

Status: Needs review » Fixed

Committed to 5.x.

Anonymous’s picture

Status: Fixed » Closed (fixed)