PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Wed Aug 15, 2018 6:24 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Mon Aug 22, 2016 11:24 am 
Offline
DevNet Master

Joined: Wed Oct 08, 2008 3:39 pm
Posts: 4420
Location: United Kingdom
When I save a homepage I am building, I get this folder: ggdXiRNv4b4_data.
In it is the attached screenshot.

It turns out these files are from Youtube. As I have a video embedded in the homepage.

Is a Youtube video on the homepage now, a good or bad thing, SEO wize, considering it adds over 1mb of data to be loaded...??


Attachments:
File comment: Odd files in rendered page.
ss.jpg
ss.jpg [ 18.88 KiB | Viewed 3039 times ]

_________________
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
Top
 Profile  
 
PostPosted: Mon Aug 22, 2016 12:10 pm 
Offline
Spammer :|
User avatar

Joined: Wed Oct 15, 2008 2:35 am
Posts: 6617
Location: WA, USA
...You're building the site? I don't understand how you don't know what those files are if you are making the site. Like, how did they even get on your computer without you knowing? Did you just download stuff and stick it into your project without checking what it was?

Embedding a Youtube video on the homepage should take exactly 0 extra files: you put an <iframe> in the page. That's it. No Javascript, no files, nothing else. Heck, they even give you a method from the video itself to get the appropriate HTML markup.


Top
 Profile  
 
PostPosted: Mon Aug 22, 2016 12:26 pm 
Offline
DevNet Master

Joined: Wed Oct 08, 2008 3:39 pm
Posts: 4420
Location: United Kingdom
Well damn me, I just did the same thing. I got a YouTube video, embdded it.
Then I went to view it in Firefox and then Save Page As, and it downloads files, including a folder with over 1mb in it.

You do it - see what happens.

_________________
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.


Top
 Profile  
 
PostPosted: Mon Aug 22, 2016 12:32 pm 
Offline
DevNet Master

Joined: Wed Oct 08, 2008 3:39 pm
Posts: 4420
Location: United Kingdom
We also have the Google Maps embed code on the homepage, and that is nearly 1mb.
I guess what I am asking is, if it is embedded, the doing the "Save Page As"... does that give a false impression of how much data is is downalod.. ie... the size of the page?!

_________________
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.


Top
 Profile  
 
PostPosted: Tue Aug 23, 2016 1:28 am 
Offline
Spammer :|
User avatar

Joined: Wed Oct 15, 2008 2:35 am
Posts: 6617
Location: WA, USA
Why are you doing a Save Page? That's a completely different thing. Copy the <iframe> code they give you and paste it into the page wherever you want.

And embedding will host the video from Youtube - not from your server.


Top
 Profile  
 
PostPosted: Tue Aug 23, 2016 1:48 am 
Offline
DevNet Master

Joined: Wed Oct 08, 2008 3:39 pm
Posts: 4420
Location: United Kingdom
just trying to establish how much "download" the page is taking. If it' downloading it from other sources (Facebook. YouTube...) I assume that doesn't affect the performance of my own page then?

_________________
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.


Top
 Profile  
 
PostPosted: Tue Aug 23, 2016 10:36 am 
Offline
Spammer :|
User avatar

Joined: Wed Oct 15, 2008 2:35 am
Posts: 6617
Location: WA, USA
The "download" is literally just the HTML markup. Those 100 or so bytes. Everything else comes from the YouTube servers and, no, doesn't affect you or your page.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group