Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject:
PostPosted: Tue Aug 02, 2011 11:45 am 
Offline
Junior Member

Joined: Wed Jan 05, 2011 7:55 am
Posts: 29
Website: http://www.zeropointproductions.co.uk
Location: UK
theflame12 wrote:
I've cut the site load time down by a second, it's just really the Google Ads that seem to be causing a lot of load time.


Yeah I have found in the past they do ad quite a bit of time to the load time of a page. I would defer them to load last and then the content is there first.

get those image sizes down and you should be in fair standing

Optimizing the following images could reduce their size by 58.9KiB (17% reduction).

Losslessly compressing http://cdn.clubpenguincheatsy.com/wp-co ... 00x214.png could save 19.0KiB (17% reduction). See optimized version.
Losslessly compressing http://cdn.clubpenguincheatsy.com/wp-co ... 00x213.png could save 14.2KiB (15% reduction). See optimized version.
Losslessly compressing http://cdn.clubpenguincheatsy.com/image ... rships.png could save 5.9KiB (18% reduction). See optimized version.
Losslessly compressing http://cdn.clubpenguincheatsy.com/image ... erteam.png could save 3.8KiB (14% reduction). See optimized version.
Losslessly compressing http://cdn.clubpenguincheatsy.com/images/forum.png could save 3.8KiB (32% reduction). See optimized version.
Losslessly compressing http://cdn.clubpenguincheatsy.com/wp-co ... 150x51.png could save 2.6KiB (21% reduction). See optimized version.
Losslessly compressing http://cdn.clubpenguincheatsy.com/wp-co ... 04x150.png could save 2.5KiB (13% reduction). See optimized version.
Losslessly compressing http://www.clubpenguincheatsy.com/wp-co ... backgr.gif could save 2.3KiB (49% reduction). See optimized version.
Losslessly compressing http://googleads.g.doubleclick.net/page ... cD1M1dqXnJ could save 1.8KiB (20% reduction). See optimized version.
Losslessly compressing http://cdn.clubpenguincheatsy.com/wp-co ... 150x41.png could save 1.1KiB (6% reduction). See optimized version.
Losslessly compressing http://www.cdn.clubpenguincheatsy.com/w ... e-icon.png could save 636B (12% reduction). See optimized version.
Losslessly compressing http://www.cdn.clubpenguincheatsy.com/w ... k-icon.png could save 553B (11% reduction). See optimized version.
Losslessly compressing http://www.cdn.clubpenguincheatsy.com/w ... c-icon.png could save 512B (12% reduction). See optimized version.
Losslessly compressing http://pagead2.googlesyndication.com/pa ... ces_en.png could save 150B (20% reduction). See optimized version.
Losslessly compressing http://www.google.com/cse/intl/en/image ... ermark.gif could save 39B (2% reduction). See optimized version.
Losslessly compressing http://pagead2.googlesyndication.com/pa ... ices_i.png could save 21B (7% reduction). See optimized version.


Last edited by zppadmin on Tue Aug 02, 2011 11:47 am, edited 1 time in total.

Top
   
 Post subject:
PostPosted: Tue Aug 02, 2011 11:47 am 
Offline
Junior Member

Joined: Sun Jul 31, 2011 5:03 pm
Posts: 49
Website: http://www.clubpenguincheatsy.com/
AOL: thefiame12
Location: GA
I removed the leaderboard ad at the top and the page speed increased quite a bit...

http://gtmetrix.com/reports/www.clubpen ... m/u5ZzJ3zZ


Top
   
 Post subject: yup tis quicker for sure
PostPosted: Tue Aug 02, 2011 11:55 am 
Offline
Junior Member

Joined: Wed Jan 05, 2011 7:55 am
Posts: 29
Website: http://www.zeropointproductions.co.uk
Location: UK
glad that you have got a faster site now

just follow what that speed testing site tells you and you cannot go far wrong for sure. I would buy the fella a "cup of java" ;)

it took me the best part of a week to get through all the info but was well worth it !


Top
   
 Post subject:
PostPosted: Tue Aug 02, 2011 11:57 am 
Offline
Junior Member

Joined: Sun Jul 31, 2011 5:03 pm
Posts: 49
Website: http://www.clubpenguincheatsy.com/
AOL: thefiame12
Location: GA
LOL, I'd say...


Top
   
 Post subject:
PostPosted: Tue Aug 02, 2011 1:20 pm 
Offline
Junior Member

Joined: Sun Jul 31, 2011 5:03 pm
Posts: 49
Website: http://www.clubpenguincheatsy.com/
AOL: thefiame12
Location: GA
I don't know if this is worth addressing, but when I attempted to compress my existing images with WP Smush it, it gave me "filename is not writable" errors.


Top
   
 Post subject:
PostPosted: Tue Aug 02, 2011 1:21 pm 
Offline
Junior Member

Joined: Wed Jan 05, 2011 7:55 am
Posts: 29
Website: http://www.zeropointproductions.co.uk
Location: UK
theflame12 wrote:
I don't know if this is worth addressing, but when I attempted to compress my existing images with WP Smush it, it gave me "filename is not writable" errors.


Check who owns the image file directory or download them first and then compress them and then re upload them perhaps


Top
   
 Post subject:
PostPosted: Tue Aug 02, 2011 1:25 pm 
Offline
Junior Member

Joined: Sun Jul 31, 2011 5:03 pm
Posts: 49
Website: http://www.clubpenguincheatsy.com/
AOL: thefiame12
Location: GA
I got this error message when trying to upload a file:

"The uploaded file could not be moved to /var/www/wp-content/uploads/2011/08"


Top
   
 Post subject:
PostPosted: Tue Aug 02, 2011 1:27 pm 
Offline
Junior Member

Joined: Wed Jan 05, 2011 7:55 am
Posts: 29
Website: http://www.zeropointproductions.co.uk
Location: UK
Ah kk sounds like the user that you are trying to upload the file with does not have access to the images folder.

Code:
ls -l -h


the file that contains the images and then use that user to upload them

infact copy and past what you get from the command and I will further assist


Top
   
 Post subject:
PostPosted: Tue Aug 02, 2011 1:29 pm 
Offline
Junior Member

Joined: Sun Jul 31, 2011 5:03 pm
Posts: 49
Website: http://www.clubpenguincheatsy.com/
AOL: thefiame12
Location: GA
root@li374-118:~# ls -l -h
total 1004K
-rw-r--r-- 1 root root 1000K 2011-05-19 17:25 mod-pagespeed-beta_current_amd64.deb
root@li374-118:~#


Top
   
 Post subject:
PostPosted: Tue Aug 02, 2011 1:32 pm 
Offline
Junior Member

Joined: Wed Jan 05, 2011 7:55 am
Posts: 29
Website: http://www.zeropointproductions.co.uk
Location: UK
theflame12 wrote:
root@li374-118:~# ls -l -h
total 1004K
-rw-r--r-- 1 root root 1000K 2011-05-19 17:25 mod-pagespeed-beta_current_amd64.deb
root@li374-118:~#


ok that is the home dir

you need to list the images folder
use this

Code:
cd /var/www/yourworpresssite/wp-content/uplaods/


replacing "yourworpresssite" with the folder name that your site is in
then

Code:
ls -l -h


Top
   
 Post subject:
PostPosted: Tue Aug 02, 2011 1:35 pm 
Offline
Junior Member

Joined: Sun Jul 31, 2011 5:03 pm
Posts: 49
Website: http://www.clubpenguincheatsy.com/
AOL: thefiame12
Location: GA
root@li374-118:/var/www/wp-content/uploads# ls -l -h
total 4.0K
drwxr-xr-x 6 root root 4.0K 2011-08-02 05:53 2011
root@li374-118:/var/www/wp-content/uploads#

I'm guessing I have quite a few permission issues going on. A lot of things have been acting weird since I migrated from the shared host.


Top
   
 Post subject:
PostPosted: Tue Aug 02, 2011 1:40 pm 
Offline
Junior Member

Joined: Wed Jan 05, 2011 7:55 am
Posts: 29
Website: http://www.zeropointproductions.co.uk
Location: UK
Yup root owns that file, I would for ease while you get your perms sorted use the following to gain access.

so from the root dir type

Code:
cd /var/www/


then

Code:
chown -R www-data yoursitesfolder/


replacing the "yoursitesfolder" with the folder of your site

This is not the best way to do this and so you SHOULD change the perms back once you have finished uploading images

using

Code:
chown -R root yoursitesfolder/


and to sort the file perms out if you have users uploading content and what not read and refer to this article on the wordpress site
http://codex.wordpress.org/Changing_File_Permissions


Top
   
 Post subject:
PostPosted: Tue Aug 02, 2011 1:46 pm 
Offline
Junior Member

Joined: Sun Jul 31, 2011 5:03 pm
Posts: 49
Website: http://www.clubpenguincheatsy.com/
AOL: thefiame12
Location: GA
Yeah, I have no idea what's going on with the permissions. They were fine as of yesterday. :?


Top
   
 Post subject:
PostPosted: Tue Aug 02, 2011 1:57 pm 
Offline
Junior Member

Joined: Wed Jan 05, 2011 7:55 am
Posts: 29
Website: http://www.zeropointproductions.co.uk
Location: UK
Although I do not do it this way as I only want myself to upload things to the server you can do the following;

make a user that is part of the www-data group and a sudeor and set the file perms to match for the folders you want web users to have access to. and then give ownership of your site to the new sudo user.

This will require that you do some reading of the setting up of users and of the wordpress page I gave you the link for.

TBH if it is only you that is uploading I have found that the most secure way is to change the file perms to www-data for the site while you are working on it and change them back after you have done.

Not that I am paranoid about security :?

TBH it is the server admins preference and what preference of what you want your users of your page to do.

Basically using the method I do usually means that users can make posts, but will not allow them to upload anything


Top
   
 Post subject:
PostPosted: Tue Aug 02, 2011 2:25 pm 
Offline
Junior Member

Joined: Sun Jul 31, 2011 5:03 pm
Posts: 49
Website: http://www.clubpenguincheatsy.com/
AOL: thefiame12
Location: GA
I've changed it and it lets me upload now. Security rly isn't a issue so this should be fine.

Is there a way to change the apache user to root?


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 0 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

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group