Welcome to Dream.In.Code
Getting Help is Easy!

Join 132,688 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,292 people online right now. Registration is fast and FREE... Join Now!




site speed

 
Reply to this topicStart new topic

site speed

capty99
post 15 Sep, 2008 - 05:28 AM
Post #1


the real kya

Group Icon
Joined: 26 Apr, 2001
Posts: 9,137



Thanked 15 times

Dream Kudos: 550
My Contributions


This is somewhat unrelated but its multiple parts.

1) Chris gave me a great site speed analyzer like 3 years ago, that cut up each part and analyzed each section.... anyone know what the good equivalent of that is today?

2) I'm working on a new wordpress site, or a re-design of an old one, but actually doing alot of code work and one extension I added drastically increased my page load time... from quick to like 30 seconds at some times, or forever... and its a simple script so i don't understand. ANYWAYS, I use the super cache plugin also, and when I turn that on I can cut those load times down... I just want you guys to tell me the downside of that.

3) That same script supposedly is creating thumnails and saving them in my uploads/pth directory. however when I ftp to to that directory I don't get any files.. its completely blank. The source url of the images also points to that directory. Can you guys take a look at this page and tell me if you see those thumbnails coming from anywhere else?

the url is : http://www.bucketofawesome.com/category/pictures/ and its all those thumbnails in the left side (except not the chick pics)

i would be much obliged.

User is offlineProfile CardPM

Go to the top of the page

mocker
post 15 Sep, 2008 - 08:19 AM
Post #2


D.I.C Regular

Group Icon
Joined: 14 Oct, 2007
Posts: 256



Thanked 15 times
My Contributions


I got
/wp-content/uploads/pth/thumb-4723-image.jpg

If there is no actual thumb in wp-content/uplods/pth/ check your htaccess files in case wordpress is using rewrite rules to load them from somewhere else. Also, if you are not root, it is possible that wordpress is saving the thumbnails so that they are owned by the webserver (either user apache, or nobody) . You may not be able to list files owned by the webserver when logged in as yourself depending on the server configuration
User is offlineProfile CardPM

Go to the top of the page

capty99
post 15 Sep, 2008 - 09:12 AM
Post #3


the real kya

Group Icon
Joined: 26 Apr, 2001
Posts: 9,137



Thanked 15 times

Dream Kudos: 550
My Contributions


my .htaccess

CODE

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress


does that tell you anything? i searched all my directories for that thumb img and found squat.
User is offlineProfile CardPM

Go to the top of the page

mocker
post 15 Sep, 2008 - 07:43 PM
Post #4


D.I.C Regular

Group Icon
Joined: 14 Oct, 2007
Posts: 256



Thanked 15 times
My Contributions


That htaccess is just a redirect for any requests to files or directories that don't exist, so its very unlikely that index.php is generating the thumbnail on every request but possible.

Actually I just looked up some thumbnails in wordpress, and it is quite possible that index.php is creating the thumbnail image on the fly.

The other more likely reason is what I mentioned above. It depends on the server setup, but php is often run by the webserver so any of your php scripts get run under the webservers user (usually apache or nobody). If the thumbnail files were created by the webserver you might not have permission to view them, in which case you can only interact with them through other scripts or as a root user.
User is offlineProfile CardPM

Go to the top of the page

capty99
post 16 Sep, 2008 - 09:49 PM
Post #5


the real kya

Group Icon
Joined: 26 Apr, 2001
Posts: 9,137



Thanked 15 times

Dream Kudos: 550
My Contributions


mocker thanks, its temporarily this week on the back burner but i'm gonna look into trying to get root access to see if its there.
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 11/23/08 07:26AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month