These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

Main Site + Forum page optimizations

Author
Osku Rei
Pixel 6
#1 - 2012-03-23 19:52:38 UTC  |  Edited by: Osku Rei
Normally I find that going from the main eve site (http://www.eveonline.com) to the forum (http://forums.eveonline.com) takes a abnormally long time to process (even on a good connection)

I had a quick look at the page using Google's "Page Speed" developer extension + console, it seems they are missing a lot of easy optimizations. Here's a screen grab (of the forum) but is the same story on both the home page and the forum:

http://img41.imageshack.us/img41/7716/eveforumpagespeed.jpg


  • Lack of caching a lot of resources, images, css, js etc
  • Hardly any of the images are optimized, you can save about 60+% on the image size
  • JS/CSS isn't minified
  • Using @import on css is a no-no because browsers can't cache the imported css
  • Messy HTML / lots of white space / not minifed
  • Not specifying image sizes, causes the browser to render them, then work out their size


  • - This list varies on each page but nevertheless they are all simple optimizations that should be enforced. This will benifit all users in general but more so the mobile users; as well as ccp - cutting down on some network traffic

    - A few hours / a day for a CCP web developer to have a tidy up of this would save a lot in the long run.

    Next generation of lottery tracker coming soon! http://evelotterytracker.com/

    Please like my post if it has helped you :)

    Dragonaire
    Here there be Dragons
    #2 - 2012-03-23 23:09:38 UTC
    And we might not have to hit refresh a couple times just to get the page to load because it keeps timing out Blink

    Finds camping stations from the inside much easier. Designer of Yapeal for the Eve API. Check out the Yapeal PHP API Library thread.

    Etil DeLaFuente
    Aliastra
    Gallente Federation
    #3 - 2012-03-24 07:46:59 UTC  |  Edited by: Etil DeLaFuente
    I just ran the chrome audit tool on https://forums.eveonline.com. Not so bad results actually.

    Only 7 images are missing the width and heigh attributes
    All image coming from ccp image server are cached

    Main issue is the expiration cache attribute missing on some resources which could prevent browser to not cache these ressources (chrome cache them anyway)

    css/jss files not minified (only a few of them) are gziped anyway.

    Messy HTML / lots of white space / not minifed : lol ?

    So all in all different tool, different result ;)

    ps : I'd say the best move they could do atm is to completely move from the webpage crap (seen that ugly viewstate ?) to the awesome mvc framework.
    Osku Rei
    Pixel 6
    #4 - 2012-03-24 22:45:24 UTC
    Etil DeLaFuente wrote:
    I just ran the chrome audit tool on https://forums.eveonline.com. Not so bad results actually.

    Only 7 images are missing the width and heigh attributes
    All image coming from ccp image server are cached

    Main issue is the expiration cache attribute missing on some resources which could prevent browser to not cache these ressources (chrome cache them anyway)

    css/jss files not minified (only a few of them) are gziped anyway.

    Messy HTML / lots of white space / not minifed : lol ?

    So all in all different tool, different result ;)

    ps : I'd say the best move they could do atm is to completely move from the webpage crap (seen that ugly viewstate ?) to the awesome mvc framework.


    Both paint a bad picture (more so on Google Page Speed)

    https://developers.google.com/pagespeed/#url=https_3A_2F_2Fwww.eveonline.com_2F&mobile=false

    Although they are not major problems the flip side is that they are very easy to fix, and should be.

    This may be only part of why the pages are slow though.

    Quote:
    Messy HTML / lots of white space / not minifed : lol ?
    ... right click -> view source... you'll see.

    Would be interesting to hear from a Dev their POV.

    They are using ASP.Net and judging by the all the white space and broken indenting etc they are using a MVC.

    Next generation of lottery tracker coming soon! http://evelotterytracker.com/

    Please like my post if it has helped you :)

    Etil DeLaFuente
    Aliastra
    Gallente Federation
    #5 - 2012-03-29 06:06:14 UTC
    Osku Rei wrote:
    Etil DeLaFuente wrote:
    I just ran the chrome audit tool on https://forums.eveonline.com. Not so bad results actually.

    Only 7 images are missing the width and heigh attributes
    All image coming from ccp image server are cached

    Main issue is the expiration cache attribute missing on some resources which could prevent browser to not cache these ressources (chrome cache them anyway)

    css/jss files not minified (only a few of them) are gziped anyway.

    Messy HTML / lots of white space / not minifed : lol ?

    So all in all different tool, different result ;)

    ps : I'd say the best move they could do atm is to completely move from the webpage crap (seen that ugly viewstate ?) to the awesome mvc framework.


    Both paint a bad picture (more so on Google Page Speed)

    https://developers.google.com/pagespeed/#url=https_3A_2F_2Fwww.eveonline.com_2F&mobile=false

    Although they are not major problems the flip side is that they are very easy to fix, and should be.

    This may be only part of why the pages are slow though.

    Quote:
    Messy HTML / lots of white space / not minifed : lol ?
    ... right click -> view source... you'll see.

    Would be interesting to hear from a Dev their POV.

    They are using ASP.Net and judging by the all the white space and broken indenting etc they are using a MVC.


    Yeah, because parsers care a lot about white spaces and bad indenting.. The only thing it could save is a tiny bandwidth because data are transferred compressed to your browser.
    LifeHatesMe
    LifeHatesUsAll
    #6 - 2012-03-30 00:00:38 UTC
    Etil DeLaFuente wrote:
    Yeah, because parsers care a lot about white spaces and bad indenting.. The only thing it could save is a tiny bandwidth because data are transferred compressed to your browser.
    Your like the guy who says a slow computer from the 90's is fine for the general public. I'm sorry sir, I like my 1995 MR2 Turbo. Go home :/
    Justice Comes
    Doomheim
    #7 - 2012-03-31 22:59:35 UTC
    Dragonaire wrote:
    And we might not have to hit refresh a couple times just to get the page to load because it keeps timing out Blink


    I hit QUOTE to reply to that and it timed out. FFS.

    Most annoying thing of the week: You failed to dock/jump because you are cloaked (in your Deep Space Transport).