GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   site loading slow (why) (https://gfy.com/showthread.php?t=1036764)

drmadcat 09-04-2011 12:43 PM

site loading slow (why)
 
my site xxxaus.com is loading very slow
any ideas why or how i can speed it up

Wizzo 09-04-2011 12:48 PM

Who's your host? Seems like a whole bunch of other crap on your IP.

drmadcat 09-04-2011 01:00 PM

Quote:

Originally Posted by Wizzo (Post 18403071)
Who's your host? Seems like a whole bunch of other crap on your IP.

amerinoc
but my other site cuntcumming.com loads fairly fast

drmadcat 09-04-2011 01:03 PM

also i cut the site back from 999 profiles on the front page to 24 profiles

Double trouble 09-04-2011 01:04 PM

Creative spam :winkwink:

cess 09-04-2011 01:14 PM

You are scaling down large pics to thumbnails...

AdultKing 09-04-2011 02:34 PM

It looks like this is a VPS. What are it's specs ?

garce 09-04-2011 02:36 PM

Loaded pretty well instantly when I clicked the link :2 cents:

Dubya 09-04-2011 03:36 PM

Quote:

Originally Posted by cess (Post 18403101)
You are scaling down large pics to thumbnails...

Bingo, only a newb would do that.

My Pimp 09-04-2011 04:51 PM

Some thumbnails have too much kb.

drmadcat 09-04-2011 07:06 PM

Quote:

Originally Posted by AdultKing (Post 18403215)
It looks like this is a VPS. What are it's specs ?


80 GB Disk Space


10 TB's / Gig Port


Private Xen-HVM VPS


Up to 6 Unique IPs


1 GB RAM + 1 vCPU Core

AdultKing 09-04-2011 09:25 PM

As others have said, you are loading large images as thumbnails, you should be converting those images into real thumbnails.

AsianDivaGirlsWebDude 09-04-2011 09:30 PM

Are you feeding your hamsters well and taking care of them properly?

http://s2.hubimg.com/u/84609_f520.jpg

http://i55.photobucket.com/albums/g1...male_dwarf.jpg

ADG

drmadcat 09-04-2011 10:19 PM

Quote:

Originally Posted by AdultKing (Post 18403631)
As others have said, you are loading large images as thumbnails, you should be converting those images into real thumbnails.

great the amount of time its taken to get this far with the guys building the site more hassle

acctman 09-04-2011 10:25 PM

download this addon to you chrome or ff - http://developer.yahoo.com/yslow/ i test all my sites with it. it taught me to use a lot of caching methods example this is how my htaccess looks on one of my sites. with a good caching method after the user visits once, the next time the visit your site the page load is almost instant. I also use .png files and optimized css files...

Code:

Header unset Pragma
<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|swf|mp3|mp4)$">
Header set Cache-Control "max-age=3600, must-revalidate"
</FilesMatch>

<FilesMatch "\.(html|htm|txt|xsl|php)$">
Header set Cache-Control "max-age=7200, must-revalidate"
</FilesMatch>

# CACHED FOREVER
# MOD_REWRITE TO RENAME EVERY CHANGE
<FilesMatch "\.(js|css)$">
Header set Cache-Control "max-age=86400, must-revalidate"
</FilesMatch>

after doing stuff like that on a few sites, it just because a habit and standard. same with my php and mysql coding. i have certain crons that do db cleanup and optimizing tables every few weeks

AdultKing 09-04-2011 10:36 PM

Quote:

Originally Posted by drmadcat (Post 18403683)
great the amount of time its taken to get this far with the guys building the site more hassle

What has been the cost ? How much do you make from the site ?

At the stage you are at in this industry, having people build sites for you is probably not a wise move. I would concentrate on zero cost, high return methods of generating income.

papill0n 09-04-2011 10:43 PM

especially people who are building sites for you that load fullsize images as thumbs lol

AdultKing 09-04-2011 10:44 PM

Quote:

Originally Posted by papill0n (Post 18403704)
especially people who are building sites for you that load fullsize images as thumbs lol

I suspect he's being ripped off and just doesn't know it. :2 cents:

porkbrothersdotnet 09-04-2011 10:47 PM

Load time checker it gave me 717.7 sec
 
I checked your load time with a load time checker it gave me 717.7 sec. xxxaus.com which is critically slow. I also checked the size and the quality of the thumbs. Your thumbs are definitely larger size picture squeezed down into thumb nail viewing. You might just want to put a limit on the size and weight of their profile avatar. Your should have the ability to set a limit maybe 100k. And dude you should upgrade your server package to include at least 2 gig of ram. Good luck.

drmadcat 09-04-2011 11:27 PM

Quote:

Originally Posted by AdultKing (Post 18403696)
What has been the cost ? How much do you make from the site ?

At the stage you are at in this industry, having people build sites for you is probably not a wise move. I would concentrate on zero cost, high return methods of generating income.

site cost $250 which ive made back already
also as per are previous conversations ive stopped everything else and following your advice im setting up blogs with the info i got from market samurai

drmadcat 09-04-2011 11:28 PM

Quote:

Originally Posted by porkbrothersdotnet (Post 18403706)
I checked your load time with a load time checker it gave me 717.7 sec. xxxaus.com which is critically slow. I also checked the size and the quality of the thumbs. Your thumbs are definitely larger size picture squeezed down into thumb nail viewing. You might just want to put a limit on the size and weight of their profile avatar. Your should have the ability to set a limit maybe 100k. And dude you should upgrade your server package to include at least 2 gig of ram. Good luck.

thanks ill have a look

drmadcat 09-04-2011 11:32 PM

Quote:

Originally Posted by acctman (Post 18403687)
download this addon to you chrome or ff - http://developer.yahoo.com/yslow/ i test all my sites with it. it taught me to use a lot of caching methods example this is how my htaccess looks on one of my sites. with a good caching method after the user visits once, the next time the visit your site the page load is almost instant. I also use .png files and optimized css files...

Code:

Header unset Pragma
<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|swf|mp3|mp4)$">
Header set Cache-Control "max-age=3600, must-revalidate"
</FilesMatch>

<FilesMatch "\.(html|htm|txt|xsl|php)$">
Header set Cache-Control "max-age=7200, must-revalidate"
</FilesMatch>

# CACHED FOREVER
# MOD_REWRITE TO RENAME EVERY CHANGE
<FilesMatch "\.(js|css)$">
Header set Cache-Control "max-age=86400, must-revalidate"
</FilesMatch>

after doing stuff like that on a few sites, it just because a habit and standard. same with my php and mysql coding. i have certain crons that do db cleanup and optimizing tables every few weeks

that tool is great better than the firefox one i was useing

AdultKing 09-04-2011 11:32 PM

Quote:

Originally Posted by drmadcat (Post 18403733)
site cost $250 which ive made back already
also as per are previous conversations ive stopped everything else and following your advice im setting up blogs with the info i got from market samurai

Make sure you have full source code for this site. Have them put in code for thumbnails, this would be a minimum requirement for any site - why they did not do this is beyond me. Perhaps you would be better off with another developer. If they can't code in thumbnails then what mess have they made with security ?

drmadcat 09-05-2011 12:02 AM

Quote:

Originally Posted by AdultKing (Post 18403738)
Make sure you have full source code for this site. Have them put in code for thumbnails, this would be a minimum requirement for any site - why they did not do this is beyond me. Perhaps you would be better off with another developer. If they can't code in thumbnails then what mess have they made with security ?

ive sent them a message lets see what they come back with

acctman 09-05-2011 12:12 AM

also wanted to add, if you make you own .psd design you can get a company like http://www.psd2html.com to code your site. I've used them a lot for adult and non-adult projects. my css / gfx slice skills aren't as strong as a pro, they're pretty damn good. I do hate that they outsource although the company is in NV.

drmadcat 09-05-2011 12:21 AM

ok i sent message
i have a problem with the thumbnails on my site
xxxaus.com
index page is loading to slow
i think the problem is the images from the profiles are too big on the index page set as the thumbnails
is there anything i can do


my reply


Yes, you need to reduce image size.
When you are processing this kind of image : http://xxxaus.com/gallery_images/6700402660325.jpg then you need to also reduce quality.
for example : 150kb can reduct to 50kb also - I mean this way we can reduce 50% load.


thats just crazy shouldn't my site do this by itself

drmadcat 09-05-2011 12:35 AM

just got this reply


as this is image so only photoshop can reduce quality because in sofeware we have option to do this.

We can't reduce size of quality using programming.

halfpint 09-05-2011 12:35 AM

Site loads ok here just your thumbs are slow at loading, maybe scale them down

AdultKing 09-05-2011 02:03 AM

Quote:

Originally Posted by drmadcat (Post 18403798)
just got this reply


as this is image so only photoshop can reduce quality because in sofeware we have option to do this.

We can't reduce size of quality using programming.

That's outright bullshit. PHP has image functions that allow you to resize images on the fly, you could also resize the images into a thumbnails directory on upload and reference those where thumbnails are required. Your programmers are crap, being so crap you have to wonder how insecure your site is.

Get new programmers, or actually abandon the software you have and use a ready made solution based on WordPress. It sounds like you have nightmare code.

CurrentlySober 09-05-2011 02:05 AM

add poo to server = problem solved...

drmadcat 09-05-2011 02:07 AM

Quote:

Originally Posted by AdultKing (Post 18403895)
That's outright bullshit. PHP has image functions that allow you to resize images on the fly, you could also resize the images into a thumbnails directory on upload and reference those where thumbnails are required. Your programmers are crap, being so crap you have to wonder how insecure your site is.

Get new programmers, or actually abandon the software you have and use a ready made solution based on WordPress. It sounds like you have nightmare code.

got a new guy working on the site as we speak comes highly recommended

ill set up a WordPress site on my OZESCORT.NET

drmadcat 09-05-2011 02:07 AM

Quote:

Originally Posted by CurrentlySober (Post 18403899)
add poo to server = problem solved...

ive missed your comments were have you been

redwhiteandblue 09-05-2011 02:11 AM

Quote:

Originally Posted by drmadcat (Post 18403798)
just got this reply


as this is image so only photoshop can reduce quality because in sofeware we have option to do this.

We can't reduce size of quality using programming.

Jesus H Christ sack these people, the basic GD image library can be made to do this.

drmadcat 09-05-2011 02:16 AM

wow check my site out know loads in under 0.96 seconds was 9 sec before
not bad for $30

xxxaus.com

ArsewithClass 09-05-2011 06:55 AM

Quote:

Originally Posted by drmadcat (Post 18403522)
80 GB Disk Space


10 TB's / Gig Port


Private Xen-HVM VPS


Up to 6 Unique IPs


1 GB RAM + 1 vCPU Core

Low ram, add another gb or 2

& try cut that png at the top into 3.... :2 cents:

yabate 09-05-2011 08:54 AM

Quote:

Originally Posted by ArsewithClass (Post 18404213)
& try cut that png at the top into 3.... :2 cents:

No, absolutely not. They have enough http reqs so two more is just a kick in the head :)

@drmadcat, i will give you some quick tips what you can do..
Your website load pretty fast for a number of requests and huge payload.
But, you can make it load faster.
Lets make it in a few steps:

1. Your first bite time is about 750ms by loading it from San Francisco, where is your website located. Its too too much. First bite time from the same city can be at 20,30ms.
Imagine only how much people from EU need to wait.

2. grab your photo http://xxxaus.com/images/top_bg.png and convert it in a JPG.
Current size: 342KB
Expected size: 56KB
Savings: 286KB
But its PNG with alpha, so you need to think of it.

3. Also, your pic: http://xxxaus.com/gallery_images/185bonny2.jpg is way too big.

Current size: 117.1 KB
Expected size: 65KB
Savings: 52.7KB

4. You have a huge amount of http reqs. 616 total!
If you don't want to cut number of images, then put it across a few subdomains.
Subdomains will cause another DNS request witch takes a lil of time, but if you consider that by HTTP standard only 4 files can be download in parallel, with another dns request you will get 8 files in parallel, and so on..you will get huge benefits ;)

5. You don't have Leverage browser caching. Set it ASAP :)

6. MInify your CSS code

7. Minify your HTML code

8. Minify your JS code

9. Combine JS and CSS codes

10. Optimize your images!

and other, advanced methods..

hope i help :)

drmadcat 09-05-2011 09:00 AM

Quote:

Originally Posted by yabate (Post 18404402)
No, absolutely not. They have enough http reqs so two more is just a kick in the head :)

@drmadcat, i will give you some quick tips what you can do..
Your website load pretty fast for a number of requests and huge payload.
But, you can make it load faster.
Lets make it in a few steps:

1. Your first bite time is about 750ms by loading it from San Francisco, where is your website located. Its too too much. First bite time from the same city can be at 20,30ms.
Imagine only how much people from EU need to wait.

2. grab your photo http://xxxaus.com/images/top_bg.png and convert it in a JPG.
Current size: 342KB
Expected size: 56KB
Savings: 286KB
But its PNG with alpha, so you need to think of it.

3. Also, your pic: http://xxxaus.com/gallery_images/185bonny2.jpg is way too big.

Current size: 117.1 KB
Expected size: 65KB
Savings: 52.7KB

4. You have a huge amount of http reqs. 616 total!
If you don't want to cut number of images, then put it across a few subdomains.
Subdomains will cause another DNS request witch takes a lil of time, but if you consider that by HTTP standard only 4 files can be download in parallel, with another dns request you will get 8 files in parallel, and so on..you will get huge benefits ;)

5. You don't have Leverage browser caching. Set it ASAP :)

6. MInify your CSS code

7. Minify your HTML code

8. Minify your JS code

9. Combine JS and CSS codes

10. Optimize your images!

and other, advanced methods..

hope i help :)

wow cheers loads of stuff to do thank you

acctman 09-05-2011 09:23 AM

Quote:

Originally Posted by drmadcat (Post 18403924)
wow check my site out know loads in under 0.96 seconds was 9 sec before
not bad for $30

xxxaus.com

did they add in the htaccess file caching as well... site is loading super fast now.

TeenCat 09-05-2011 09:30 AM

replace all those thumbnails with autoloading streaming videos, maybe it will help a bit ...

drmadcat 09-05-2011 09:34 AM

Quote:

Originally Posted by acctman (Post 18404447)
did they add in the htaccess file caching as well... site is loading super fast now.

no idea ill find out

directfiesta 09-05-2011 09:41 AM

Quote:

Originally Posted by AdultKing (Post 18403895)
That's outright bullshit. PHP has image functions that allow you to resize images on the fly, you could also resize the images into a thumbnails directory on upload and reference those where thumbnails are required. Your programmers are crap, being so crap you have to wonder how insecure your site is.

Get new programmers, or actually abandon the software you have and use a ready made solution based on WordPress. It sounds like you have nightmare code.

Truth is spoken .....

Thumbs should be like 4 to 10 k ...

You are right in stating that a script will create a thumb on the fly and put it in a thumb folder.
I do a lot of shopping carts and naturally this is a basic standard function ...

OP is doing business with amateurs . Too bad for OP.

drmadcat 09-05-2011 09:45 AM

Quote:

Originally Posted by directfiesta (Post 18404478)
Truth is spoken .....

Thumbs should be like 4 to 10 k ...

You are right in stating that a script will create a thumb on the fly and put it in a thumb folder.
I do a lot of shopping carts and naturally this is a basic standard function ...

OP is doing business with amateurs . Too bad for OP.

my new guy has done just that with really good results

mavruda 09-05-2011 09:45 AM

Site loaded normally and fast here.

ArsewithClass 09-05-2011 12:23 PM

Quote:

Originally Posted by yabate (Post 18404402)
No, absolutely not. They have enough http reqs so two more is just a kick in the head :)

@drmadcat, i will give you some quick tips what you can do..
Your website load pretty fast for a number of requests and huge payload.
But, you can make it load faster.
Lets make it in a few steps:

1. Your first bite time is about 750ms by loading it from San Francisco, where is your website located. Its too too much. First bite time from the same city can be at 20,30ms.
Imagine only how much people from EU need to wait.

2. grab your photo http://xxxaus.com/images/top_bg.png and convert it in a JPG.
Current size: 342KB
Expected size: 56KB
Savings: 286KB
But its PNG with alpha, so you need to think of it.

Its this png thats loading slow compared to the rest of the site, but its a png because its not a full pic, he could use the background cut into it as a JPG but even then he would need to slice it, as you do... so in which case, splitting the png into 3, 1 with each girl on, would still remain the most simplest way to deal with the header.

Quote:

Originally Posted by drmadcat (Post 18404412)
wow cheers loads of stuff to do thank you

png is best if you want it to remain see through, but as said, if you use the background included in the header, then JPG would be much less load. Still splice it.

You do still need to improve your ram :thumbsup

yabate 09-05-2011 03:07 PM

Quote:

Originally Posted by ArsewithClass (Post 18404819)
Its this png thats loading slow compared to the rest of the site, but its a png because its not a full pic, he could use the background cut into it as a JPG but even then he would need to slice it, as you do... so in which case, splitting the png into 3, 1 with each girl on, would still remain the most simplest way to deal with the header.

png is best if you want it to remain see through, but as said, if you use the background included in the header, then JPG would be much less load. Still splice it.

You do still need to improve your ram :thumbsup

As i told, this PNG head img have alpha which is transparency. And yes, jpg will have smaller load as i calculate it in a post before, but then he need to do some extra stuff cause jpeg doesn not support transparency.
Also, png8 or gif will still do the job with transparency but there will be loss in alpha quality.
And again, he has 616 http reqs, which is enormous, so he doesn't need 618 which will have if it slice it from one pic into three :)

ArsewithClass 09-05-2011 03:39 PM

Quote:

Originally Posted by yabate (Post 18405159)
As i told, this PNG head img have alpha which is transparency. And yes, jpg will have smaller load as i calculate it in a post before, but then he need to do some extra stuff cause jpeg doesn not support transparency.
Also, png8 or gif will still do the job with transparency but there will be loss in alpha quality.
And again, he has 616 http reqs, which is enormous, so he doesn't need 618 which will have if it slice it from one pic into three :)

There is no question the use of png compared to a gif, png is obviously right... but by the time you add the background to a jpg, the size would be similar to the png. If he places all 3 pngs next to each other

Code:

<div class="top_right"><img src="images/top_bg.png" width="746" height="429" /></div>
something like...

Code:

<div class="top_right"><img src="images/top_bg.png" width="248" height="429" /><img src="images/top_bg2.png" width="248" height="429" /><img src="images/top_bg3.png" width="248" height="429" /></div>

I would have thought nothing needs to be changed but the header would load dramatically faster :2 cents:

HomerSimpson 09-05-2011 05:14 PM

- reduce number of thumbs!!!
- apply image caching
- apply mod_gzip
- get a better hosting (Naked Hosting :pimp :thumbsup )


All times are GMT -7. The time now is 03:49 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123