WebSite X5Help Center

 
Melissa K.
Melissa K.
User

Coding slowing down website  en

Autor: Melissa K.
Visitado 988, Followers 1, Compartido 0  

Hello again,

I was recently checking my website and a website I created and I saw that it was taking too long to load - I ran it through a couple of website speed tests, and while I figured it was just images slowing me down, everything seems to point somewhere else.

The tests are telling me to lower the amount of http requests, add expirations, use gzip compression, the list goes on.

In other words, fix the coding.

Now, my knowledge of coding is mixed. I know what those results mean, but I have very little idea on how to resolve those.

My question is: how do I go about getting website x5 to fix this? 

Publicado en
6 RESPUESTAS - 1 ÚTIL - 1 CORRECTO
Aleksej H.
Aleksej H.
Moderator

Hello.It would be better if you sent a link to your site.

I would do this:
1) Ask your hosting provider what optimization tools are available on your hosting.For example, on my hosting it is possible to enable gzip compression, caching of static files on the client, and much more (figure below).

2) Use PHP 7.1. You can learn about this from your hosting provider.

3) Configure htaccess. Here is an article on this topic.It is for WordPress but will be useful for WebSite X5.

4) The most unpleasant. Optimize all images: resize them to 1 to 1 as per site.For example, if you have a picture of 400 by 400 pixels, and on us it has a size of 100 by 100 pixels, for example, a logo, then you need to reduce this picture to the size of 100 by 100 pixels. Compress all images, for example, using this. After that, re-add each picture to the program and reload the site. This can be a big problem if there are a lot of pictures. It is also worth noting that WebSite X5 re-compresses images and they may increase in size. frown

Leer más
Publicado en de Aleksej H.
Esahc ..
Esahc ..
Moderator

Melissa, I am sure someone far more knowledgeable than I will explain it better or correct me where I am wrong, but it sounds like whoever did this analysis is touting for business.

You can add expires https://www.seeme-media.com/add-expires-headers-to-your-htaccess-file/

and you can add compression https://varvy.com/pagespeed/enable-compression.html

and with a bit of forethought you can readily reduce the number of http requests https://www.giftofspeed.com/fewer-http-requests/

None of these things are controlled by WX5

Assuming you use step 5 Analyse and Optimise and follow the recommendations you will finish up with a website which performs well and has good SEO qualities, if you also use Optimiser to minimise image sizes it will also load quickly.

Leer más
Publicado en de Esahc ..
Aleksej H.
Aleksej H.
Moderator

"but it sounds like whoever did this analysis is touting for business" - not necessary.Perhaps there really is a problem with speed.It's good to get a link to the site.

"if you also use Optimiser to minimise image sizes it will also load quickly" - completely forgot about it.You're right, it's faster than what I suggested in №4.

Leer más
Publicado en de Aleksej H.
Melissa K.
Melissa K.
User
Autor

Thanks for the responses:

First, one of the websites in question is my own here: melissakuhne.com

The other is my client's, who doesn't wish to provide their website

Secondly, I did the analysis through 2 different websites: pingdom and gtmetrix, both of them giving around the same results.

Aleksej - Both websites are hosted by different providers, mine through one.com [which doesn't give me many options as far as I can tell in terms of optimization], and my client through another provider which doesn't have support for apache/ htaccess [yahoo hosting]. But they both have the same issue, so the first 3 options are sort of not applicable.

As for optimizing images, while I would love to, it doesn't seem to be making a difference in terms of loading sizes, plus I'm using large splash images with parallax, so if I were to try to reduce they would either not be full width, or they would be stretched really badly.

Esahc - As I mentioned to Aleksej, there is no htaccess for my client, so expires and compression are out of the mix in that sense. As for the http requests, I'm a bit puzzled that you're saying that website x5 doesn't control that - the program is the one that creates the css scripts as per the template, and I don't want to mess up my website on the off chance that dumping all the coding onto one file will make it run faster.

In regards to the analyze and optimize, when I do it it's mostly just asking for image descriptions and sitemap requests, not exactly anything about image sizes.

Leer más
Publicado en de Melissa K.
Esahc ..
Esahc ..
Moderator

Melissa, the equivqlent to .htaccess on a Windows Server is web.config

https://docs.microsoft.com/en-us/iis/application-frameworks/install-and-configure-php-applications-on-iis/translate-htaccess-content-to-iis-webconfig

I am sure someone on the yahoo live chat/help will assist in adding expires and compression.

I had not seen your site when I commented, but I made the rash assumption that you might have many social buttons (Limit the amount of social buttons), it appears not sorry.

I loaded your site and it appears quite fast, except for the home page and the projects page. In both cases you appear to have very large background images (row formats?) which take a significant time to load (do a ctrl+f5 on each page to see full download). A reduction in size may see a dramatic improvement, if you maintain the proportions they will not deform and even if a little less than the width of the browser window they should still look great full width. What dimensions are the current images?

As you say, I would not consider modifying the css files.

Sorry I couldn't be of more help.

Leer más
Publicado en de Esahc ..
Aleksej H.
Aleksej H.
Moderator

"I am sure someone on the yahoo live chat/help will assist in adding expires and compression." - fully agree with Esahc. This is a very common feature. I will be very surprised if hosting cannot set caching of static elements. If this is not possible, then I would think about another hosting.

"I loaded your site and it appears quite fast" - I also did not notice the big delays in loading (Ukraine, Kharkov).

Regarding the melissakuhne.com analysis. Google recommends optimizing images. These are the first three recommendations listed for mobile devices. At least for the main page. Gtmetrix and WebPagetest recommend the same thing plus cache static content.

Compress Images: 36/100

2,723.5 KB total in images, target size = 957.0 KB - potential savings = 1,766.5 KB

FAILED - (2,589.8 KB, compressed = 823.3 KB - savings of 1,766.5 KB) - http://melissakuhne.com/images/header-web.jpg

I squeezed your image.Now it has decreased by 61%. It is in the attachment - 760 Kb.

Leer más
Publicado en de Aleksej H.