PageSpeed picking up duplicate files
-
Hey,
Firstly thanks for all the updates lately, massively helped speed things up!
One issue I've notice while optimising my site is the enormous payload. I know this is mainly because of the way I've built my site, but i've noticed an issue with the carousel html5 videos.
Within the 'Avoid enormous network payloads' section it lists three videos twice each, I believe it's loading the videos twice. I've deleted and added the videos back it, created the page from scratch with no success. Is it something caused by the theme? Link to the PageSpeed test here,
Thanks again :)
-
Dear @sozzysoraan
Can you post a link to your website?
We will then have a look and inspect that!
Many wishes!
Marius -
Lovely thanks a lot Marcus, appreciate it :)
www.soraanlatif.com -
Dear @sozzysoraan
Ok, thank you for writing. We will have a look also with Armin and hope to get back to you as soon as possible.
Thank you for using LayTheme!
Marius -
unfortunately somehow firefox doesn't let me lazyload html5 videos
so they're always loadedand if you have them in custom phone layout and desktop layout,
they are loaded twice :/ -
Hey @arminunruh thanks for responding back.
What would you recommend using to upload videos as I'm just a bit conscious my page is a bit slow to load because of those video clips. Do you think that could be something patched in a future?
Thanks :)
-
Dear @sozzysoraan
we do not recommend to uplaod big videos anyway. That might be heavy for your server.
Use vimeo or youtube if possible.
Best!
Marius -
Hey @mariusjopen
yeah totally understand why, its just confusing me why some of the videos are loading now up to 6 times. I've optimised the videos to about 600kb - 1.6mb and there are only 4 videos but they are all loading 2 - 6 times each. Just confusing but i may end up uploading it elsewhere.
Cheers! -
Dear @sozzysoraan
Ok, thank you for writing. We will have a look also with Armin and hope to get back to you as soon as possible.
Thank you for using LayTheme!
Marius -
so the carousel is infinite / loops so it there are duplicate slides in the html, so the video loads twice
however, when your browser loads a html5 video, it caches it
mmh i want to create an option for having carousels not loop
and also i really need to look into this html5 video lazyloading issue againjust because it didn't work on firefox i had to disable lazyloading for html5 videos altogether and thats rlly not a good solution
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