How I made my home page load faster

regarding talking with me in privet, you can email me here:
info@apartmentsnearme.biz

I just hope its not against the rules for this forum:
Admins: if it is please let me know.
*and feel free to remove this comment

@yisrael-wix
I have to disagree.
I had the same answer from support team and it wasn’t true.
I found out so many fine tuning that i needed to do in order to achieve a medium score.
we can say as much as we want that google speed test is not accurate, but if google using this tool to measure sites, than its relevant for page ranking.
when one using wix he give a way load speed for ease of use - that is the trade.
I love wix platform, and i hope that it will get better in the future.

regarding your site, this is the google measurements:

I suggest:
remove the preload - google ignore it as first content, and it’s adding js code to the page which increase the TTI and TBT.
You have a lot of third party code, do you need all of them:
Alexa, google tag, new relic, google ads, google sdk
try to minimize that.
try to avoid using wix app that have " document.write()" script in them - as this cause a slower speed. (how to Find? create a test page and start add element one by one until in the test its showing you that)
you have a lot of DOM elements on the page (940 to be exact) this is increasing the loading page speed (btw, it’s also affect the mobile load)

try to see if some of the elements you can load after page load, or adding content to the elements after page load or on view

@ricprud Thank you very much for your answer.

@yisrael-wix Thank you for your support.

can you check my site? www.dargenta.com I have a custom menu built with strips and functioning with code. I dont know why its so slow…

Hi Simon,

Hey man I just checked your site,

love your custom menu built, your currency converter and multilingual changer

Is there any way you can tell me how you did it? have been searching features like these for my own web page

Hope you can give me a hand

I created a strip, inside I used buttons, they are activated by code. When you click them, the strip disappears and it sends you to the desired page. Also, the header buttons use a when mouse in show the corresponding strip and hide the others. Finally use a when mouse out for every strip you make so they don’t stay while you browse the page. Let me know if you want me to send you the code itself.

by google:
for desktop


for mobile:


its looks like because you built your own menu its increased the loading time.
your site looks great, but as i mentioned above in the initial post, I build very basic site: apartments near me
My goal was very basic and my market is different.
but in general after all speed optimization that i have done, after all the work, and small things my own speed tests are not much better than yours, and not to my exception. this is even more relevant now than ever as google ranking system moving forward to clients and the focuses will be on content, user friendly and speed - specially on mobile.
Wix running special code to adjust your site for mobile and this cause a major load time.
Wix is amazing platform for every person to enjoy building a website, its scale -able, its give you flexibility to some degree, but the down side is the speed and at the end - google will lower rank for slow sites.

tests on apartments near me:
dasktop:

mobile

@adam rudman hi adam. Thanks a lot for all the info above. Is there a way you can check my website. Tried everything to improve the speed yet i still find it slow. www mondopayments .com

thank you

it would be great if you can share with me the code.

Also, how you got the currency converter? I’ve heard that Wix hasn’t develop it yet fully. Did you use a third party app?

@moshe14ec The currency converter is by XE Currency, I think you need a e-commerce plan, the middle or top one to be able to place it.

Here is the code:

$w.onReady( function () {
//TODO: write your page related code here…
});
import wixLocation from ‘wix-location’ ;
export function GiftsButton_mouseIn(event) {
$w( ‘#SculptureStrip’ ).hide();
$w( ‘#HomeDecorStrip’ ).hide();
$w( ‘#GiftsStrip’ ).show();
$w( ‘#OurWorldStrip’ ).hide();
}
export function SculptureButton_mouseIn(event) {
$w( ‘#SculptureStrip’ ).show();
$w( ‘#HomeDecorStrip’ ).hide();
$w( ‘#GiftsStrip’ ).hide();
$w( ‘#OurWorldStrip’ ).hide();
}
export function OurWorld_mouseIn(event) {
$w( ‘#SculptureStrip’ ).hide();
$w( ‘#HomeDecorStrip’ ).hide();
$w( ‘#GiftsStrip’ ).hide();
$w( ‘#OurWorldStrip’ ).show();
}
export function HomeDecorButton_mouseIn(event) {
$w( ‘#SculptureStrip’ ).hide();
$w( ‘#HomeDecorStrip’ ).show();
$w( ‘#GiftsStrip’ ).hide();
$w( ‘#OurWorldStrip’ ).hide();
}

export function OurWorldStrip_mouseOut(event) {
$w( ‘#OurWorldStrip’ ).hide();
}
export function SculptureStrip_mouseOut(event) {
$w( ‘#SculptureStrip’ ).hide();
}
export function HomeDecorStrip_mouseOut(event) {
$w( ‘#HomeDecorStrip’ ).hide();
}
export function GiftsStrip_mouseOut(event) {
$w( ‘#GiftsStrip’ ).hide();
}
export function DargentaLogo_mouseIn(event) {
$w( ‘#SculptureStrip’ ).hide();
$w( ‘#HomeDecorStrip’ ).hide();
$w( ‘#GiftsStrip’ ).hide();
$w( ‘#OurWorldStrip’ ).hide();
}
export function SculptureButton_mouseIn_1(event) {
$w( ‘#SculptureStrip’ ).show();
$w( ‘#HomeDecorStrip’ ).hide();
$w( ‘#GiftsStrip’ ).hide();
$w( ‘#OurWorldStrip’ ).hide();
}
export function SculptureButton_click(event) {
wixLocation.to( “/home-decor-satue-collection” );
$w( ‘#SculptureStrip’ ).hide();
}
export function HomeDecorButton_click(event) {
wixLocation.to( “/home-decor-products-silver” );
$w( ‘#HomeDecorStrip’ ).hide();
}
export function GiftsButton_click(event) {
wixLocation.to( “/luxury-gifts” );
$w( ‘#GiftsStrip’ ).hide()
}
export function OurWorld_click(event) {
wixLocation.to( “/our-world-home-decor-statues” );
$w( ‘#OurWorldStrip’ ).hide();
}
export function BeautyCraftArtButton_click(event) {
wixLocation.to( “/beauty-craft-art-home-decor-statues” );
$w( ‘#OurWorldStrip’ ).hide();
}
export function DargentaCollectosButton_click(event) {
wixLocation.to( “/dargenta-members-club” );
$w( ‘#OurWorldStrip’ ).hide();
}
export function OurLegacyButton_click(event) {
wixLocation.to( “/our-legacy-in-home-decor” );
$w( ‘#OurWorldStrip’ ).hide();
}
export function OurSculptorsButton_click(event) {
wixLocation.to( “/dargenta-sculptors-home-decor” );
$w( ‘#OurWorldStrip’ ).hide();
}
export function AnimalArtButton_click(event) {
wixLocation.to( “/wildlife-collections” );
$w( ‘#SculptureStrip’ ).hide();
}
export function SkyAnimalsButton_click(event) {
wixLocation.to( “/bird-statue-collections” );
$w( ‘#SculptureStrip’ ).hide();
}
export function EarthAnimalButton_click(event) {
wixLocation.to( “/terrestrial-animal-collections” );
$w( ‘#SculptureStrip’ ).hide();
}
export function SeaAnimalButton_click(event) {
wixLocation.to( “/aquatic-animal-collection” );
$w( ‘#SculptureStrip’ ).hide();
}
export function PlantArtButton_click(event) {
wixLocation.to( “/leaf-decor-plant” );
$w( ‘#SculptureStrip’ ).hide();
}
export function HumanArtButton_click(event) {
wixLocation.to( “/human-statues” );
$w( ‘#SculptureStrip’ ).hide();
}
export function DargentaEliteButton_click(event) {
wixLocation.to( “/elite-decor-artists” );
$w( ‘#SculptureStrip’ ).hide();
}
export function FridaKahloButton_click(event) {
wixLocation.to( “/frida-kahlo-art” );
$w( ‘#SculptureStrip’ ).hide();
}
export function SalvadorDaliButton_click(event) {
wixLocation.to( “/salvador-dali-art” );
$w( ‘#SculptureStrip’ ).hide();
}
export function RamirezVazquezButton_click(event) {
wixLocation.to( “/pedro-ramirez-vazquez-statues” );
$w( ‘#SculptureStrip’ ).hide();
}
export function WorldArtButton_click(event) {
wixLocation.to( “/cultural-art” );
$w( ‘#SculptureStrip’ ).hide();
}
export function ReligionButton_click(event) {
wixLocation.to( “/religious-art” );
$w( ‘#SculptureStrip’ ).hide();
}
export function NewArrivalsButton_click(event) {
wixLocation.to( “/new-decoration-arrivals” );
$w( ‘#SculptureStrip’ ).hide();
}
export function MostPopularButton_click(event)
{wixLocation.to( “/most-popular-statues” );
$w( ‘#SculptureStrip’ ).hide();
}
export function GiftConciergeButton_click(event) {
wixLocation.to( “/gift-concierge” );
$w( ‘#SculptureStrip’ ).hide();
}
export function VaseButton_click(event) {
wixLocation.to( “/flower-vase” );
$w( ‘#HomeDecorStrip’ ).hide();
}
export function BowlsButton_click(event) {
wixLocation.to( “/bowls” );
$w( ‘#HomeDecorStrip’ ).hide();
}
export function PhotoFramesButton_click(event) {
wixLocation.to( “/photo-frames” );
$w( ‘#HomeDecorStrip’ ).hide();
}
export function JewellryBoxButton_click(event) {
wixLocation.to( “/jewellery-boxes” );
$w( ‘#HomeDecorStrip’ ).hide();
}
export function CandleHolderButton_click(event) {
wixLocation.to( “/candle-holders” );
$w( ‘#HomeDecorStrip’ ).hide();
}
export function BookEndButton_click(event) {
wixLocation.to( “/book-ends” );
$w( ‘#HomeDecorStrip’ ).hide();
}
export function FruitBowlButton_click(event) {
wixLocation.to( “/fruit-bowls” );
$w( ‘#HomeDecorStrip’ ).hide();
}
export function FlowerPotButton_click(event) {
wixLocation.to( “/flower-pots” );
$w( ‘#HomeDecorStrip’ ).hide();
}
export function BasketButton_click(event) {
wixLocation.to( “/basket-home-decor” );
$w( ‘#HomeDecorStrip’ ).hide();
}
export function ForTableButton_click(event) {
wixLocation.to( “/table-decor” );
$w( ‘#HomeDecorStrip’ ).hide();
}
export function ForWallButton_click(event) {
wixLocation.to( “/wall-decor” );
$w( ‘#HomeDecorStrip’ ).hide();
}
export function ForFloorButton_click(event) {
wixLocation.to( “/floor-decor-statues” );
$w( ‘#HomeDecorStrip’ ).hide();
}
export function ForHerButton_click(event) {
wixLocation.to( “/gifts-for-her-statues” );
$w( ‘#GiftsStrip’ ).hide()
}
export function ForHimButton_click(event) {
wixLocation.to( “/gifts-for-him-home-decor-statues” );
$w( ‘#GiftsStrip’ ).hide()
}
export function TheCoupleButton_click(event) {
wixLocation.to( “/wedding-gifts” );
$w( ‘#GiftsStrip’ ).hide()
}
export function TheHomeButton_click(event) {
wixLocation.to( “/home-decor-collections” );
$w( ‘#GiftsStrip’ ).hide()
}
export function AnimalLoversButton_click(event) {
wixLocation.to( “/animal-statues” );
$w( ‘#GiftsStrip’ ).hide()
}
export function MostPopoularGiftsButton_click(event) {
wixLocation.to( “/popular-home-decor-gifts-statues” );
$w( ‘#GiftsStrip’ ).hide()
}
export function Gifts500Button_click(event) {
wixLocation.to( “/gifts-under-500” );
$w( ‘#GiftsStrip’ ).hide()
}
export function Gift1000Button_click(event) {
wixLocation.to( “/gifts-under-1000” );
$w( ‘#GiftsStrip’ ).hide()
}
export function PersonalizedGiftButton_click(event) {
wixLocation.to( “/bespoke-services” );
$w( ‘#GiftsStrip’ ).hide()
}
export function ShelfButton_click(event) {
wixLocation.to( “/shelf-decor-statues” );
$w( ‘#HomeDecorStrip’ ).hide();
}
export function HumanCreationsButton_click(event) {
wixLocation.to( “/human-creation-art” );
$w( ‘#SculptureStrip’ ).hide();
}
export function OurWorlButton_click(event) {
wixLocation.to( “/our-world-home-decor-statues” );
$w( ‘#OurWorldStrip’ ).hide();
}
export function GiftsStrip_mouseIn(event) {
$w( ‘#GiftsStrip’ ).show();
}
export function FuneralUrnButton_click(event) {
wixLocation.to( “/silver-cremation-urns” );
$w( ‘#HomeDecorStrip’ ).hide();
}
export function CorpotateGiftButton_click(event) {
wixLocation.to( “/luxury-coporate-gifts” );
$w( ‘#GiftsStrip’ ).hide();
}
export function GardenStatuesButton_click(event) {
wixLocation.to( “/garden-statues” );
$w( ‘#SculptureStrip’ ).hide();
}
export function SilverStatuesButton_click(event) {
wixLocation.to( “/silver-statues” );
$w( ‘#SculptureStrip’ ).hide();
}
export function GoldStatuesButton_click(event) {
wixLocation.to( “/gold-statues” );
$w( ‘#SculptureStrip’ ).hide();
}
export function AbstractStatuesButton_click(event) {
wixLocation.to( “/abstract-statues” );
$w( ‘#SculptureStrip’ ).hide();
}
export function GamesButton_click(event) {
wixLocation.to( “/games-home-decor-statues” );
$w( ‘#HomeDecorStrip’ ).hide();
}
export function GiftConciergeButton2_click(event) {
wixLocation.to( “/gift-concierge” );
$w( ‘#GiftsStrip’ ).hide()
}
export function DargentaLogo_mouseIn_1(event) {
$w( ‘#SculptureStrip’ ).hide();
$w( ‘#HomeDecorStrip’ ).hide();
$w( ‘#GiftsStrip’ ).hide();
$w( ‘#OurWorldStrip’ ).hide();
}
export function vectorImage10_mouseIn(event) {
$w( ‘#SculptureStrip’ ).hide();
$w( ‘#HomeDecorStrip’ ).hide();
$w( ‘#GiftsStrip’ ).hide();
$w( ‘#OurWorldStrip’ ).hide();
}
export function currencyConverter3_mouseIn(event) {
$w( ‘#SculptureStrip’ ).hide();
$w( ‘#HomeDecorStrip’ ).hide();
$w( ‘#GiftsStrip’ ).hide();
$w( ‘#OurWorldStrip’ ).hide();
}
export function accountNavBar2_mouseIn(event) {
$w( ‘#SculptureStrip’ ).hide();
$w( ‘#HomeDecorStrip’ ).hide();
$w( ‘#GiftsStrip’ ).hide();
$w( ‘#OurWorldStrip’ ).hide();
}
export function text139_mouseIn(event) {
$w( ‘#SculptureStrip’ ).hide();
$w( ‘#HomeDecorStrip’ ).hide();
$w( ‘#GiftsStrip’ ).hide();
$w( ‘#OurWorldStrip’ ).hide();
}
export [function](function BlogButton_click(event) {
wixLocation.to(“/statues-sculptures-home-decor-blog”);
$w(‘#OurWorldStrip’).hide();
}) [ BlogButton_click(event) {](function BlogButton_click(event) {
wixLocation.to(“/statues-sculptures-home-decor-blog”);
$w(‘#OurWorldStrip’).hide();
})
[ wixLocation.to(](function BlogButton_click(event) {
wixLocation.to(“/statues-sculptures-home-decor-blog”);
$w(‘#OurWorldStrip’).hide();
}) [“/statues-sculptures-home-decor-blog”](function BlogButton_click(event) {
wixLocation.to(“/statues-sculptures-home-decor-blog”);
$w(‘#OurWorldStrip’).hide();
}) [);](function BlogButton_click(event) {
wixLocation.to(“/statues-sculptures-home-decor-blog”);
$w(‘#OurWorldStrip’).hide();
})
[ $w(](function BlogButton_click(event) {
wixLocation.to(“/statues-sculptures-home-decor-blog”);
$w(‘#OurWorldStrip’).hide();
}) [‘#OurWorldStrip’](function BlogButton_click(event) {
wixLocation.to(“/statues-sculptures-home-decor-blog”);
$w(‘#OurWorldStrip’).hide();
}) [).hide();](function BlogButton_click(event) {
wixLocation.to(“/statues-sculptures-home-decor-blog”);
$w(‘#OurWorldStrip’).hide();
})
[}](function BlogButton_click(event) {
wixLocation.to(“/statues-sculptures-home-decor-blog”);
$w(‘#OurWorldStrip’).hide();
})

Good luck!

@ricprud Have you used GTmetix? it gives you a detailed look at what is taking time to load, shows you files and requests in a cascade manner, I managed to double the speed by uploading the pictures to Facebook, then downloading them and then uploading them, Facebook does a pretty darn good job at compressing images. My custom menu doesn’t not load on mobile (supposedly)… Also deleting the menu (app) from the desktop instead of hiding it accelerated my page considerably

@simon8144 instead of doing show/hide can create a container and load pictures after page load or on view? this way first the site will be loaded and done and than it will load the rest of the things

@ricprud Thanks Adam! Sounds like a great idea, I just don’t know how to implement it… The images are the background of columns from a strip… should I load the entire strip later? How do you tell wix to load strip column backgrounds later?

@simon8144 I’m not sure, but maybe use repeaters and dataset.
Corvid API have an example, also I have an example above with the blog repeaters i did
its tricky, but i its worth trying

Very nice, but too technical for me… i wonder, would you be so kind to check my social network performances and give me some hints? I am still working on it and entering the test phase with 15 users but it looks like it would be too slow in larger scale.

url is: https://spherehost.wixsite.com/yootie

on desktop:


i think you should remove the animation from the landing page,
on top level fold, have one strip with picture and action for the user, after fold have the rest of the info.

try to mimic what we did at apartments near me

its look like your site is well optimized and have a good score - how is on mobile?

did you used editor X?