Best practice to Clone Website and LCP Speed
-
wrote on Feb 11, 2025, 10:55 AM last edited by
Hello Team!
I wanna do a redesign of my current website, but i want to keep the Projects for the most part. What is the best way to clone the current website in the Background so i can work on it and after switch the new design to live?
Is there a guide for this maybe?Also i have a issue with my current site that the speed for mobile is slow, mainly cause of LCP. In Desktop i get 94 Performance on Mobile just 64. Maybe there is a good easy fix for it.
I do use an image plugin to reduce the file size and use the .web format.
Cache plugin is installed as well.Best
LeoWeb: www.leopoldfiala.com
-
Global Moderatorwrote on Feb 11, 2025, 1:19 PM last edited by arminunruh Feb 11, 2025, 8:25 AM
you can copy your site using the duplicator plugin:
https://wordpress.org/plugins/duplicator/https://laytheme.com/documentation/moving-website.html
mmh LCP.
seems like "load delay" is the thing that takes the longesthttps://stackoverflow.com/questions/77042837/why-is-my-load-delay-really-high-for-my-lcp
here it says:First up it should be remembered that the Lighthouse proportion of PageSpeed Insights is a simulated test, under specific conditions that may or may not reflect your users actual experience
-
-
maybe you can put your google tag scripts inside "html at bottom"
instead of head?in lay options → custom css & html
-
and maybe you can disable the cookie plugin that shows "accept cookies"
cause lay theme doesn't create cookies anyways except for when you use woocommerce as a shop i think -
-
mmh it seems that when i run the lighthouse test it shows much slower loading times than what the website and first images actually take to load, even when i disable caches
-
wrote on Feb 12, 2025, 12:50 PM last edited by
Hi Armin thanks a lot for the swift response!
About the LCP: I tried moving the Tag manager Html to the bottom and disable the cookie plugin. Did not change much unfortunatly. Still seems like tag manager is loading first for some reason.
I have the analytics script (gtag, Tagmanager and Analytics) in the "Custom content" area of the laytheme html and css options.
can is set this whole thing to load last maybe?Thanks also about the dublication guide will try soon!
-
and maybe you can disable the cookie plugin that shows "accept cookies"
cause lay theme doesn't create cookies anyways except for when you use woocommerce as a shop i thinkwrote on Feb 12, 2025, 12:51 PM last edited by leo01 Feb 12, 2025, 7:56 AM@arminunruh i was in belive that google tsg manager or analytics will add cokies, can i somehow check if my site needs cookies at all. I personaly hate cookie banners so would love to get rid of it.
Edit for future users might find this helpful. : Found a site to check https://www.cookieserve.com/ - and Google analytics is the only cookies places on my site. there is a workaround with server side tracking but it needs top be set up.
-
mh
ok then i dont know what to do about the googletags js
does your caching plugin have an option where it can bundle the js files that need to be loaded on your website?
for example if u look here:
https://laytheme.com/documentation/speeding-up-your-website.htmlthe plugin
https://wordpress.org/plugins/wp-fastest-cache/pls only use one caching plugin, if you want to try this one, disable the other one you have (except for the one that creates the webp files, dont disable this one)
-
wrote on Feb 13, 2025, 10:16 AM last edited by
i tried the recommended plugin but speed results on page insights were worse so i switched back.
Thanks i think its ok for now but with the redesign i will try to solve this. thanks!
I also code custom websites or custom Lay features.
💿 Email me here: 💿
info@laytheme.com
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- 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:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it