GithubHelp home page GithubHelp logo

Improve the Page Load Time about risherry HOT 6 CLOSED

evalica avatar evalica commented on June 9, 2024
Improve the Page Load Time

from risherry.

Comments (6)

evalica avatar evalica commented on June 9, 2024

Relates to Issue #20: {Precompile Handlebars templates} and Issue #40: {Load just the needed FA icons}

Also a solution would be to replace ghpages index with the rendered page.

from risherry.

evalica avatar evalica commented on June 9, 2024

After replacing the inline page script with rendered content, the requests drop from 39 to 24 requests.
Some iteration online values:

  • Slow 3G - 18.13s (old 22.76s)

iteration1_slow

  • Fast 3G - 5.18s (old 6.41s)

iteration1_fast

from risherry.

evalica avatar evalica commented on June 9, 2024

Ideas:

  • Bootstrap css and js could be removed, see Issue #39: Replace Bootstrap grid with native CSS Grid
  • Portfolio images could be loaded on server, in a sprite

from risherry.

evalica avatar evalica commented on June 9, 2024

Tested locally on a partially Theme: Gwen, on index.html:

  • Fast 3G - 4.07s (old 5.18s)

407

  • Online - 633 KB transferred

663

from risherry.

evalica avatar evalica commented on June 9, 2024

After #40

  • Fast 3G - 500 KB - 3.32s (old 4.07s)

aftericons

from risherry.

evalica avatar evalica commented on June 9, 2024

Rain:
rain

Gwen After #27:
gwen videos

from risherry.

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.