GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Webmaster Q & Fuckin' A (https://gfy.com/forumdisplay.php?f=27)
-   -   low page load speed on cam site (https://gfy.com/showthread.php?t=1186492)

pornuploader 03-07-2016 07:21 AM

low page load speed on cam site
 
hello guys

recently i have launched a new embed cam site by WordPress and wp chaturbate plugin but website speed is too slow, i am running more than 5 tube site on my current VPS and all of them are like rocket except this one
how can i improve page load speed on cam site?( i don't have any issues with other sites)

j3rkules 03-07-2016 07:30 AM

Could you give us your website address?

TitanWM 03-07-2016 04:39 PM

I think, the only way ist to cache the XML file. Put it on your server and update it every 5 minutes (cronjob).

Denny 03-08-2016 12:58 AM

Quote:

Originally Posted by TitanWM (Post 20755198)
I think, the only way ist to cache the XML file. Put it on your server and update it every 5 minutes (cronjob).

:2 cents::2 cents:

pornuploader 03-09-2016 10:31 AM

Quote:

Originally Posted by jerkules (Post 20753440)
Could you give us your website address?


this is my cam site address:
http://sheeme.com/

do you have any advice?

pornuploader 03-09-2016 10:32 AM

Quote:

Originally Posted by TitanWM (Post 20755198)
I think, the only way ist to cache the XML file. Put it on your server and update it every 5 minutes (cronjob).

is there any tutorial? i am not professional

j3rkules 03-09-2016 02:00 PM

Your background is way too heavy:
website-background-full-hd-background… sheeme.com/wp-content/uploads/2016/03/ 474.1 kB

Website speed test

pornuploader 03-10-2016 09:45 AM

Quote:

Originally Posted by jerkules (Post 20760852)
Your background is way too heavy:
website-background-full-hd-background? sheeme.com/wp-content/uploads/2016/03/ 474.1 kB

Website speed test


i don't think so because before changing background loading speed was low, it seems main issue is about script connecting to chaturbate rooms

FapDude 03-10-2016 11:42 AM

Your site needs improvements

pornuploader 03-10-2016 12:38 PM

Quote:

Originally Posted by FapDude (Post 20763564)
Your site needs improvements


what kinds improvements do you mean?

TitanWM 03-10-2016 01:22 PM

Quote:

Originally Posted by pornuploader (Post 20760189)
is there any tutorial? i am not professional

I dont know and I dont use WP (or wp chaturbate plugin). You must find the code where the link is for XML-url and change it to a local path (where you store the XML file).

Update the XML file every 5 minutes (cronjob). You can update your local XML file with this PHP code:

<?php
$update = "PathToTheXmlFile/XmlFile.xml";

$url = "http://chaturbate.com/affiliates/api/onlinerooms/?format=xml&wm=YourAffId";
$xml = file_get_contents($url);

if(!empty($xml)) {
file_put_contents($update,$xml);
} else {
echo "Did not get a file back<br>\n";
}
?>

Now you need a cronjob on your server to execute this php file every 5 minutes.

TitanWM 03-10-2016 01:32 PM

Maybe you have an option to cache the XML file (in your wp-chaturbate plugin settings), if it programmed prof.

Nick Tosser 04-10-2016 01:57 AM

Quote:

Originally Posted by pornuploader (Post 20760180)
this is my cam site address:
http://sheeme.com/

do you have any advice?

Error message dude :(

Warning: unlink(/home/sheeme/public_html//wp-content/plugins/wp-chaturbate/chaturbatecams.tmp.xml): No such file or directory in /home/sheeme/public_html/wp-content/plugins/wp-chaturbate/wp-chaturbate.php on line 733

anexsia 04-10-2016 09:14 AM

Loads relatively fast for me.

Install Supercache or W3TC so you can preload static pages.

I use a LEMP stack with separate php-fpm pools for each one of my Wordpress sites and just have Supercache preload static pages for everything so PHP is rarely ever called...makes everything load fast as shit.


All times are GMT -7. The time now is 10:20 AM.

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