Skip to content

What can we do to improve a website's performance? #5

Open
@cheatsheet1999

Description

@cheatsheet1999

In the perspective of content......

  • Minimize HTTP requests, such as CSS sprite, inline image, and files combination.
  • Minimize DOM elements.

In the aspect of server and Cookie......

  • Utilize CDN, config ETag, and compress components using Gzip.
  • Reduce the size of cookie

In terms of CSS......

  • Avoid CSS expressions
  • Put the stylesheet on top of the file
  • Using <link> but not @import

Ok...What can we do on Javascript......

  • Put Javascript on the bottom of the HTML file
  • Import JS file from outside
  • Minimize DOM operation
  • A lot more we can do on Javascript, but that will be another HUGE topic then.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions