AnimeGalleries [dot] NetAnimeWallpapers [dot] ComAnimeLyrics [dot] ComAnimePedia [dot] ComAnimeGlobe [dot] Com

User Tag List

Closed Thread
Results 1 to 6 of 6

Thread: Technical suggestion

  1. #1
    4: [Classified brah] Eris has a reputation beyond repute Eris has a reputation beyond repute Eris has a reputation beyond repute Eris has a reputation beyond repute Eris has a reputation beyond repute Eris has a reputation beyond repute Eris has a reputation beyond repute Eris has a reputation beyond repute Eris has a reputation beyond repute Eris has a reputation beyond repute Eris has a reputation beyond repute Eris's Avatar
    Gil
    100,840.64
    Gender
    Gifts Tuxedo Mask Rose Mario Question Block Pen
    Mentioned
    296 Post(s)
    Tagged
    0 Thread(s)
    Latest Post
    07-18-2014 06:26 AM
    User Info Thanks / Tagging Info Gifts / Achievements / Awards vBActivity Stats
    Join Date
    Aug 2001
    Location
    Tau Ceti V
    Age
    27
    Threads
    616
    Posts
    19,634
    Blog Entries
    619
    Rep Power
    14605

    Default Technical suggestion

    So I notice that AF includes it's stylesheet directly on the page code. This is kind of a waste, since it generates a lot of redundant data transfer. If you were to put it in separate files and include them by link instead of just dumping it on the page, the browser will cache it and only download it when necessary, reducing traffic and possibly also the maintenance cost of AF.

    I did some checking, and most pages on AF are around 20-25 kB. Around 5 of those kB is the stylesheet, so that's around 20%-25% of the traffic in every page load that is completely redundant(!)

    Just a suggestion.

  2. #2
    SPARKLE SPARKLE!!! Jakiao has a reputation beyond repute Jakiao has a reputation beyond repute Jakiao has a reputation beyond repute Jakiao has a reputation beyond repute Jakiao has a reputation beyond repute Jakiao has a reputation beyond repute Jakiao has a reputation beyond repute Jakiao has a reputation beyond repute Jakiao has a reputation beyond repute Jakiao has a reputation beyond repute Jakiao has a reputation beyond repute Jakiao's Avatar
    Gil
    7,392,912.28
    Gender
    My Mood
    sunshine
    Mentioned
    19 Post(s)
    Tagged
    0 Thread(s)
    Latest Post
    07-17-2014 03:35 AM
    User Info Thanks / Tagging Info Gifts / Achievements / Awards vBActivity Stats
    Join Date
    Jul 2001
    Location
    Janesville, Wi
    Age
    27
    Threads
    135
    Posts
    3,088
    Rep Power
    1130

    Default

    This isn't by [our] design. The stylesheet is included this way based off of how vBulletin is programmed.
    I am Jakiao - The Resident Dw33b / Forum & Chat Admin
    [ Our Rules | Site FAQ | Chat Bot Help | User Account Activation | Site Development Blog ]

    Thinking about asking a question in Site Issues and Questions?
    Be sure to SEARCH FIRST before making a new thread. Chances are, someone already asked!

  3. #3
    4: [Classified brah] Eris has a reputation beyond repute Eris has a reputation beyond repute Eris has a reputation beyond repute Eris has a reputation beyond repute Eris has a reputation beyond repute Eris has a reputation beyond repute Eris has a reputation beyond repute Eris has a reputation beyond repute Eris has a reputation beyond repute Eris has a reputation beyond repute Eris has a reputation beyond repute Eris's Avatar
    Gil
    100,840.64
    Gender
    Gifts Tuxedo Mask Rose Mario Question Block Pen
    Mentioned
    296 Post(s)
    Tagged
    0 Thread(s)
    Latest Post
    07-18-2014 06:26 AM
    User Info Thanks / Tagging Info Gifts / Achievements / Awards vBActivity Stats
    Join Date
    Aug 2001
    Location
    Tau Ceti V
    Age
    27
    Threads
    616
    Posts
    19,634
    Blog Entries
    619
    Rep Power
    14605

    Default

    Quote Originally Posted by Jakiao View Post
    This isn't by [our] design. The stylesheet is included this way based off of how vBulletin is programmed.
    Assuming you don't want to muck around in the sources of the board, I think there's a way around that. I've deduced that the skin system seems to dump the skin directly into the style tags. If you create skins that look like this:

    Code:
    -->
    </style>
    <link rel="stylesheet" href="whatever.css">
    <style type="text/css">
    <!--
    ... it may just work. Perhaps not the prettiest hack, but still.

  4. #4
    Ace Kaitous YOU Kaitou Ace has a reputation beyond repute Kaitou Ace has a reputation beyond repute Kaitou Ace has a reputation beyond repute Kaitou Ace has a reputation beyond repute Kaitou Ace has a reputation beyond repute Kaitou Ace has a reputation beyond repute Kaitou Ace has a reputation beyond repute Kaitou Ace has a reputation beyond repute Kaitou Ace has a reputation beyond repute Kaitou Ace has a reputation beyond repute Kaitou Ace has a reputation beyond repute Kaitou Ace's Avatar
    Gil
    1,673,128,509,202.58
    Gender
    My Mood
    Amused
    Gifts Rayman Baboon With A Gun Bioshock Syringe Bioshock Gene Tonic
    Mentioned
    143 Post(s)
    Tagged
    1 Thread(s)
    Latest Post
    07-17-2014 11:20 PM
    User Info Thanks / Tagging Info Gifts / Achievements / Awards vBActivity Stats
    Join Date
    Oct 2003
    Location
    Brooklyn, New York, United States
    Age
    33
    Threads
    196
    Posts
    13,735
    Blog Entries
    10
    AW Wallpapers
    1
    AL Lyrics
    2
    Rep Power
    1002398
    Gamer IDs

    Gamertag: kaitou ace42 PSN ID: kaitou42 Steam ID: kaitou_ace

    Default

    Well we'd still have to change how every skin funcitons by somehow stripping the database held css out, making it into a file by hand, and then including said file by overwriting the header tag via another hack, which has to change with the theme. Hopefully they'll make those changes in future versions of the forum, but it'd take a nearly absurd amount of work to break the entire skin system of the forum for this saving.

    I do get what you're saying, but the theme css is generated out of multiple database variables, and isn't held as plain-text css.

  5. #5
    4: [Classified brah] Eris has a reputation beyond repute Eris has a reputation beyond repute Eris has a reputation beyond repute Eris has a reputation beyond repute Eris has a reputation beyond repute Eris has a reputation beyond repute Eris has a reputation beyond repute Eris has a reputation beyond repute Eris has a reputation beyond repute Eris has a reputation beyond repute Eris has a reputation beyond repute Eris's Avatar
    Gil
    100,840.64
    Gender
    Gifts Tuxedo Mask Rose Mario Question Block Pen
    Mentioned
    296 Post(s)
    Tagged
    0 Thread(s)
    Latest Post
    07-18-2014 06:26 AM
    User Info Thanks / Tagging Info Gifts / Achievements / Awards vBActivity Stats
    Join Date
    Aug 2001
    Location
    Tau Ceti V
    Age
    27
    Threads
    616
    Posts
    19,634
    Blog Entries
    619
    Rep Power
    14605

    Default

    Quote Originally Posted by Kaitou Ace View Post
    Well we'd still have to change how every skin funcitons by somehow stripping the database held css out, making it into a file by hand, and then including said file by overwriting the header tag via another hack, which has to change with the theme. Hopefully they'll make those changes in future versions of the forum, but it'd take a nearly absurd amount of work to break the entire skin system of the forum for this saving.

    I do get what you're saying, but the theme css is generated out of multiple database variables, and isn't held as plain-text css.
    Maybe you could dynamically generate the css file linked to, and then pass the appropriate database junk in parameters? That way, the browser would cache so long as the the variables that determine the skin remain constant.

    Sorry to spam you with this... I'm in an engineering mood today. I've been building random stuff for hours.
    Last edited by Eris; 06-21-2009 at 06:43 PM.

  6. #6
    SPARKLE SPARKLE!!! Jakiao has a reputation beyond repute Jakiao has a reputation beyond repute Jakiao has a reputation beyond repute Jakiao has a reputation beyond repute Jakiao has a reputation beyond repute Jakiao has a reputation beyond repute Jakiao has a reputation beyond repute Jakiao has a reputation beyond repute Jakiao has a reputation beyond repute Jakiao has a reputation beyond repute Jakiao has a reputation beyond repute Jakiao's Avatar
    Gil
    7,392,912.28
    Gender
    My Mood
    sunshine
    Mentioned
    19 Post(s)
    Tagged
    0 Thread(s)
    Latest Post
    07-17-2014 03:35 AM
    User Info Thanks / Tagging Info Gifts / Achievements / Awards vBActivity Stats
    Join Date
    Jul 2001
    Location
    Janesville, Wi
    Age
    27
    Threads
    135
    Posts
    3,088
    Rep Power
    1130

    Default

    It's a good suggestion, and it would definitely help on bandwidth (yay Cache-Control), but it's just not feasible. Thanks for the suggestion, tho!
    I am Jakiao - The Resident Dw33b / Forum & Chat Admin
    [ Our Rules | Site FAQ | Chat Bot Help | User Account Activation | Site Development Blog ]

    Thinking about asking a question in Site Issues and Questions?
    Be sure to SEARCH FIRST before making a new thread. Chances are, someone already asked!

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Suggestion - search/list by author
    By HyperHacker in forum Wallpapers
    Replies: 1
    Last Post: 09-16-2006, 05:59 AM
  2. Site suggestion and profile problem
    By HyperHacker in forum Site Issues / Questions
    Replies: 3
    Last Post: 09-13-2006, 03:05 AM
  3. Suggestion Box
    By Ωmega in forum Miscellaneous Miscellany
    Replies: 1
    Last Post: 12-01-2005, 09:42 AM
  4. Suggestion
    By yotsuba-chan in forum Site Issues / Questions
    Replies: 1
    Last Post: 08-10-2005, 08:47 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts