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
    101,951.98
    Gender
    Gifts Tuxedo Mask Rose Mario Question Block Pen
    Mentioned
    301 Post(s)
    Tagged
    0 Thread(s)
    Latest Post
    03-06-2015 01:53 AM
    User Info Thanks / Tagging Info Gifts / Achievements / Awards vBActivity Stats
    Join Date
    Aug 2001
    Location
    Tau Ceti V
    Age
    37
    Threads
    617
    Posts
    19,697
    Blog Entries
    620
    Rep Power
    14769

    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.



    Hey look, Japan made a movie about me!

  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,393,634.45
    Gender
    My Mood
    sunshine
    Mentioned
    31 Post(s)
    Tagged
    0 Thread(s)
    Latest Post
    02-01-2023 03:50 PM
    User Info Thanks / Tagging Info Gifts / Achievements / Awards vBActivity Stats
    Join Date
    Jul 2001
    Location
    Janesville, Wi
    Age
    37
    Threads
    140
    Posts
    3,110
    Rep Power
    1139

    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 ]

    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
    101,951.98
    Gender
    Gifts Tuxedo Mask Rose Mario Question Block Pen
    Mentioned
    301 Post(s)
    Tagged
    0 Thread(s)
    Latest Post
    03-06-2015 01:53 AM
    User Info Thanks / Tagging Info Gifts / Achievements / Awards vBActivity Stats
    Join Date
    Aug 2001
    Location
    Tau Ceti V
    Age
    37
    Threads
    617
    Posts
    19,697
    Blog Entries
    620
    Rep Power
    14769

    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.



    Hey look, Japan made a movie about me!

  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,519,367.16
    Gender
    My Mood
    Amused
    Gifts Hat Rayman Baboon With A Gun Bioshock Syringe
    Mentioned
    249 Post(s)
    Tagged
    1 Thread(s)
    Latest Post
    01-23-2024 09:22 PM
    User Info Thanks / Tagging Info Gifts / Achievements / Awards vBActivity Stats
    Join Date
    Oct 2003
    Location
    Brooklyn, New York, United States
    Age
    43
    Threads
    210
    Posts
    14,278
    Blog Entries
    10
    AW Wallpapers
    1
    AL Lyrics
    3
    Rep Power
    1002525
    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
    101,951.98
    Gender
    Gifts Tuxedo Mask Rose Mario Question Block Pen
    Mentioned
    301 Post(s)
    Tagged
    0 Thread(s)
    Latest Post
    03-06-2015 01:53 AM
    User Info Thanks / Tagging Info Gifts / Achievements / Awards vBActivity Stats
    Join Date
    Aug 2001
    Location
    Tau Ceti V
    Age
    37
    Threads
    617
    Posts
    19,697
    Blog Entries
    620
    Rep Power
    14769

    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.



    Hey look, Japan made a movie about me!

  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,393,634.45
    Gender
    My Mood
    sunshine
    Mentioned
    31 Post(s)
    Tagged
    0 Thread(s)
    Latest Post
    02-01-2023 03:50 PM
    User Info Thanks / Tagging Info Gifts / Achievements / Awards vBActivity Stats
    Join Date
    Jul 2001
    Location
    Janesville, Wi
    Age
    37
    Threads
    140
    Posts
    3,110
    Rep Power
    1139

    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 ]

    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