Giter Club home page Giter Club logo

Comments (18)

mbauman avatar mbauman commented on June 18, 2024 2

This looks promising to shave off ~1.5MB: https://www.labnol.org/internet/light-youtube-embeds/27941/

from www.julialang.org.

ViralBShah avatar ViralBShah commented on June 18, 2024 1

Or pick a different thing to show there. I just picked what I found on the Plots.jl pages.

from www.julialang.org.

KristofferC avatar KristofferC commented on June 18, 2024 1

Emulating a slow 3g connection the website takes over 1 minute to load.

Fast 3g is 20 seconds.

I still think waves.gif is brutally too big.

from www.julialang.org.

jebej avatar jebej commented on June 18, 2024 1

For reference, the home pages of other languages are generally below 1MB.

  • golang.org: 716KB
  • rust-lang.org: 495KB
  • python.org: 522 KB
  • r-project.org: 252 KB

from www.julialang.org.

jebej avatar jebej commented on June 18, 2024

Maybe some of these plots could be re-rendered with Plotly or similar.

from www.julialang.org.

ViralBShah avatar ViralBShah commented on June 18, 2024

Maybe we should just use static images at least on mobiles?

from www.julialang.org.

ViralBShah avatar ViralBShah commented on June 18, 2024

I also don't know how this affects our bandwidth bill with the CDN. I assume much of this just gets cached in the user's browser.

from www.julialang.org.

mbauman avatar mbauman commented on June 18, 2024

What if we deferred loading the gifs until the tab is clicked? We could even start with a static image and then dynamically swap it out once the gif arrives. That should also help mitigate the bandwidth bill.

from www.julialang.org.

mbauman avatar mbauman commented on June 18, 2024

Well after #60 we're down to 6.2MB, of which half is waves.gif. Better, but still probably worth investigating deferred downloading or perhaps a more gif-optimization-friendly demo for the visualization tab.

from www.julialang.org.

ranjanan avatar ranjanan commented on June 18, 2024

Has #71 helped?

from www.julialang.org.

KristofferC avatar KristofferC commented on June 18, 2024

It is dominated by waves.gif but #72 at least took away a MB from it

from www.julialang.org.

mbauman avatar mbauman commented on June 18, 2024

Here's after #72:

screen shot 2018-08-03 at 5 19 59 pm

Why am I downloading some of the same scripts/css files three times?

from www.julialang.org.

KristofferC avatar KristofferC commented on June 18, 2024

17MB -> 5MB in 9 hours is good progress :)

from www.julialang.org.

mbauman avatar mbauman commented on June 18, 2024

Ah, the triplets are coming from the three embedded YouTube videos.

from www.julialang.org.

ranjanan avatar ranjanan commented on June 18, 2024

Nice. Will make a PR and test it whoops the internet at the airport has turned spotty. I don't want to block anyone if they wanted to work on this. :-(

from www.julialang.org.

essenciary avatar essenciary commented on June 18, 2024

I haven't tested it, but in theory, we could convert waves.gif to a video using something like http://gif-2-mp4.com

from www.julialang.org.

ViralBShah avatar ViralBShah commented on June 18, 2024

I think we are now at 5MB. So probably ok to close this.

from www.julialang.org.

ViralBShah avatar ViralBShah commented on June 18, 2024

BTW, we can have any other plot. I think we should remove all the animated GIFs.

from www.julialang.org.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.