Can long image filenames in HTML cause high bandwidth?

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
simonmlewis
DevNet Master
Posts: 4435
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

Can long image filenames in HTML cause high bandwidth?

Post by simonmlewis »

We have an issue where a web site we manage is getting over 158GB of bandwidth within 24 days.
Of our bigger sites has much higher usage statistics, but the bandwidth is roughly the same. So comparitively, this web site has a problem somewhere.

The images are all roughly the same size. Certainly not 10 times the size. But they do have some rather long filenames. I found one with 59 characters before the .jpg.

If we have alot of these, would that cause high bandwidth? I'm thinking probably not, as it's tiny amounts of bytes.
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: Can long image filenames in HTML cause high bandwidth?

Post by Celauran »

No, that is certainly not the cause.
simonmlewis
DevNet Master
Posts: 4435
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

Re: Can long image filenames in HTML cause high bandwidth?

Post by simonmlewis »

I just checked two product pages of the one in question and the one that has the higher hits. Both had three large photos. But around 4mb for the product page and content. Irrespective of the overall size, the "problem" one was actually lower.

The big hitter gets around 60-80,000 hits a day. The other problem one, more like 5000-7000 a day.
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: Can long image filenames in HTML cause high bandwidth?

Post by Celauran »

simonmlewis wrote:around 4mb for the product page and content
Wow.
simonmlewis
DevNet Master
Posts: 4435
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

Re: Can long image filenames in HTML cause high bandwidth?

Post by simonmlewis »

I know!!!
But they need to be large images, and the thumbnails tend to be a few hundred as they are wide enough to fit a mobile.
I don't think they compress their images enough....
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
marshallunduemi
Forum Newbie
Posts: 1
Joined: Mon Dec 08, 2014 1:57 pm

Re: Can long image filenames in HTML cause high bandwidth?

Post by marshallunduemi »

Actually text does not cause load on site, only the size of file (images) does and video files, but keep it nice :drunk:
simonmlewis
DevNet Master
Posts: 4435
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

Re: Can long image filenames in HTML cause high bandwidth?

Post by simonmlewis »

Yeah.
We are now looking at scripts that prevent things loading on mobile, not just "display: none", so that will help on GPRS/E/3G loads too.
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
Post Reply