JavaScript is required to use Bungie.net

#Community

4/30/2012 6:01:27 AM
67

An easy way to speed up the site

Web pages (what you're looking at now) are made up of text called HTML. If you right click this page and hit View Page Source (or equivalent), you'll be able to see it. Now, some of the things in there are called elements. For example, near the top of the HTML you can see a line that looks like this:[quote][/quote]Elements within the HTML also have things called attributes, which is what I've underlined for you (there are three). Here's the problem: If you look at each of the attributes in the HTML for all of Bungie.net's pages, they're all [b][u]double quotes[/u][/b]! If the Web Team replaced all of the double quotes with single quotes, there wouldn't be so many characters that need to be sent. Thus, there would be less bandwidth being because the page sizes are smaller, reducing the strain on Bungie's servers and your connection. It's a win for everyone! I implore the Web Team to implement this change in the next site update.

Posting in language:

 

Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

  • Speaking of changes... When is the next website update? Anyone knows? No? Oh well.

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

  • Lol, I'm so lost...

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

  • [quote][/quote] Well, there's your problem, it's 2012!

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

  • [quote][b]Posted by:[/b] galacticjedi2 [quote][b]Posted by:[/b] TGI Skuldier We should just take the HTML, and push it somewhere else![/quote] Is it possible to push a non phyisical object.[/quote] We just need another non physical object to push it with.

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

  • [quote][b]Posted by:[/b] TGI Skuldier We should just take the HTML, and push it somewhere else![/quote] Is it possible to push a non phyisical object.

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

  • We should just take the HTML, and push it somewhere else!

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

  • [quote][b]Posted by:[/b] DarkJet7 If we get rid of all the code it wont have to waste any time loading anything. /Flawless logic[/quote] The man has a point..

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

  • If we get rid of all the code it wont have to waste any time loading anything. /Flawless logic

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

  • [quote][b]Posted by:[/b] ctjl96 [quote][b]Posted by:[/b] Deathcon 5 Same number of characters sent: " vs '[/quote] Pages are sent as plaintext. Those are HTML entities, or "HTML-safe" strings used to prevent security problems like XSS. If you tried to write an attrib like that, it wouldn't load. OT: Lol, I can't see this making more of a few ms difference. I've always thought it was standard practice to use double quotes for HTML attributes -- in fact, I go out of my way to do it. I write my js with single quotes and my HTML with double. Actually, wait a second. Is

    really different at all from

    ? From what I can tell, this change wouldn't make a difference at all.[/quote] " isn't sent, the code for " is sent. And in binary its the same length as the code for ' 1 byte, the same for all UTF-8 ASCII chars. [Edited on 05.02.2012 1:18 AM PDT]

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

  • That went way over my head. I know how to view page source and can understand bits and pieces, but this is totally above my knowledge base. So....nice catch? BTW Party for Apple Blossom. Kudos to anyone who knows what this is.

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

  • [quote][b]Posted by:[/b] Qbix89 Nerd.[/quote] Your the one with a "Ninja" title.

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

  • This is why I don't like single quotes even though it may save a couple bytes here and there. Example: It just looks weird having single quotes inside and outside the parentheses or maybe I am just old-fashioned. [Edited on 05.01.2012 3:23 PM PDT]

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

  • It would be quite interesting to get the opinion of someone from the webteam on this matter.

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

  • I don't uh....I don't get this thread...

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

  • Nerd.

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

  • It might take it easier on the servers (more than negligibly), but I doubt much effect will be had on individual users.

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

  • Will this make that much of a difference though? The site isn't slow for me. It can be slow at times but very rarely. Like I just said the only real concern about this would be if it's even worth it.

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

  • What keeps you coming back??

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

  • [quote][b]Posted by:[/b] dazarobbo If the Web Team replaced all of the double quotes with single quotes, there wouldn't be so many characters that need to be sent. Thus, there would be less bandwidth being because the page sizes are smaller, reducing the strain on Bungie's servers and your connection. [/quote] Although this is true, the amount of optimization would be non-noticeable even on Bungie's scale. Now if Bungie had an extreme amount of hits(Facebook or Yahoo level), then maybe. Also, like an earlier post says, it would be the same amount of characters anyways. Correct me if I'm wrong, but I think you don't even need quotes anymore according to W3C. [Edited on 05.01.2012 9:45 AM PDT]

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

  • I don't understand HTML enough to know if this thread was originally a joke or turned into one.

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

  • There would be the same amount of characters.

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

  • We should just divide the quotes by 0.

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

  • [quote][b]Posted by:[/b] Deathcon 5 Same number of characters sent: " vs '[/quote]"stuff" "stuff" "stuff" (6 quotes and 2 spaces) "stuff stuff stuff" (2 quotes and 2 space) [Edited on 05.01.2012 9:29 AM PDT]

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

  • I don't know enough about HTML to neither confirm nor deny if what Daz is saying is feasible, however, if it is, I don't see why this shouldn't be implemented.

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

  • One month from people being threatened with bans for april fools threads to this -blam!-e. To the day. Classy.

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

  • No. If the community can't accept change in the halo games, why would they accept it on the website?

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

You are not allowed to view this content.
;
preload icon
preload icon
preload icon