Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. General Discussion
  3. Optimising heavy site and removing unwanted LayTheme elements

Optimising heavy site and removing unwanted LayTheme elements

Scheduled Pinned Locked Moved General Discussion
4 Posts 2 Posters 138 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    Didgeroo
    wrote on last edited by Didgeroo
    #1

    A site we've inherited is weighing in at around 3.5GB. There are a few large image files but nothing to warrant 3.5GB. How can we optimise it?

    Are there extra LayTheme elements we can remove? If so, how?

    Thanks.

    1 Reply Last reply
    0
    • arminunruhA Offline
      arminunruhA Offline
      arminunruh
      Global Moderator
      wrote on last edited by
      #2

      this is probably because of all of the files in the upload folder

      for every image that is uploaded, multiple sizes of it are generated.
      these should not have very large file sizes.

      but the original files that are uploaded can be quite big.
      sometimes people upload hundreds of images that each are multiple megabytes big. and then they dont use all of them on their website, however these are still in the uploads folder.

      you can go through your website and find all images that are being used.
      now delete all unused images from the media library.

      if you want to move your website instead of downloading all files one by one, use a migrating plugin. it works faster cause most of them zip the whole website and you can download this as one big file which is much faster.

      also you could just update your webhosting package if you run out of disk space on your website.

      im not sure what you want to achieve with having less files on your server. why is a 3.5gb website bad?

      D 1 Reply Last reply
      0
      • arminunruhA arminunruh

        this is probably because of all of the files in the upload folder

        for every image that is uploaded, multiple sizes of it are generated.
        these should not have very large file sizes.

        but the original files that are uploaded can be quite big.
        sometimes people upload hundreds of images that each are multiple megabytes big. and then they dont use all of them on their website, however these are still in the uploads folder.

        you can go through your website and find all images that are being used.
        now delete all unused images from the media library.

        if you want to move your website instead of downloading all files one by one, use a migrating plugin. it works faster cause most of them zip the whole website and you can download this as one big file which is much faster.

        also you could just update your webhosting package if you run out of disk space on your website.

        im not sure what you want to achieve with having less files on your server. why is a 3.5gb website bad?

        D Offline
        D Offline
        Didgeroo
        wrote on last edited by
        #3

        @arminunruh said in Optimising heavy site and removing unwanted LayTheme elements:

        for every image that is uploaded, multiple sizes of it are generated.

        Thank you for your reply. A few questions:

        "for every image that is uploaded, multiple sizes of it are generated."

        Is this because it is creating images for mobile and other breakpoints. Is there any documentation on this?

        "im not sure what you want to achieve with having less files on your server. why is a 3.5gb website bad?"

        for efficiency, best practice and lower energy/carbon footprint

        are there additional themes or elements that are loaded to the system as default, but aren't necessarily used? How do we find these?

        1 Reply Last reply
        0
        • arminunruhA Offline
          arminunruhA Offline
          arminunruh
          Global Moderator
          wrote on last edited by
          #4

          these are the image sizes that are generated:

          '_265', '_512', '_768', '_1024', '_1280', '_1920', '_2560', '_3200', '_3840', '_4096'

          these are the pixel widths

          so 768px and so on

          using the image srcset, only the correct size is loaded into the browser, based on the width of the image in the current browser and device

          this is more performant than just loading the original image

          so just because your uploads folder is very large it doesnt mean your website is slow when you visit it

          you can disable all plugins, lay theme works without any extra plugins
          but if you want to use any addons → laytheme.com click "addons" you need to keep them activated

          you can send me your website url and such so i can take a look myself:

          can you send your website address, /wp-admin/ username and password and a link to this topic to info@laytheme.com?

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          I also code custom websites or custom Lay features.
          šŸ’æ Email me here: šŸ’æ
          info@laytheme.com

          Before you post:
          1. When using a WordPress Cache plugin, disable it or clear your cache.
          2. Update Lay Theme and all Lay Theme Addons
          3. Disable all Plugins
          4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

          This often solves issues you might run into

          When you post:
          1. Post a link to where the problem is
          2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
          3. If the problem is difficult to explain, post screenshots / link to a video to explain it
          Online Users
          Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
          laytheme.com
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Recent
          • Tags
          • Popular
          • Users
          • Search