Site logo

[Support request] how to lighten the site?

Home Forums Support [Support request] how to lighten the site?

Home Forums Support how to lighten the site?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2044447
    francesco

    I wanted to know if there is a way to discover unnecessary pieces of code that may possibly burden the site.

    #2044577
    David
    Staff
    Customer Support

    Hi there,

    not really.

    Making the site lighter comes with many challenges.

    Some general pointers i focus on are:

    1. Image sizes – try to keep them as small as possible. If images are over the 100kb then they could probably do with compressing. Ideally a blog post featured image should be below the 100kb. I aim for 50kb or less.

    2. Fonts.
    Minimize the number of variants you use.
    And if possible load them locally to save on additional DNS lookups and network requests to google servers:

    https://docs.generatepress.com/article/adding-local-fonts/

    3. 3rd Party scripts such as Adverts – you should use a plugin like Flying Scripts or PerfMatters to defer their loading.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.