25, July 2008

best performance? - webmaster forum

 
Webdigity webmaster forums
This forum shares its ad revenue with its members!
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web hosting talk  >  Configuring your server  >  Apache web server
Topic: best performance?
« previous next »
Pages: [1] Print

Author Topic: best performance?  (Read 566 times)
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6280
38506 credits
Members referred : 374


It's time to use PHP5!


« on: Sep 13, 2007, 11:15:09 PM »

I have some very busy topsite and the button on this busy sites is generating some nice load.

Since I rank the sites based on the inbound clicks I don't need the button impression count.

now my problem, because there are ~500 websites using the the link to the button I need to do something.

at the moment I use some php file function to show only the image through the button script. It looks like that server load is lower since I use it this way (no more database transactions inside the button script).

I sit maybe better/faster to redirect the button request to the button image via mod_rewrite?


Last blog : 4th of July Lottery from TemplateMonster.com
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 7975
40807 credits
Members referred : 3



« Reply #1 on: Sep 14, 2007, 12:20:42 AM »

No. Redirect it through php Smiley

php is faster than mod_rewrite, plus this way bots wont load your server.

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy

Last blog : MIA - Where Nick and Tim
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6280
38506 credits
Members referred : 374


It's time to use PHP5!


« Reply #2 on: Sep 14, 2007, 12:44:11 AM »

No. Redirect it through php Smiley

php is faster than mod_rewrite, plus this way bots wont load your server.

Huh
<?php
header("Location: button.png");
exit;
?>


Last blog : 4th of July Lottery from TemplateMonster.com
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 7975
40807 credits
Members referred : 3



« Reply #3 on: Sep 14, 2007, 11:18:18 AM »

Right, but location headers should have complete urls (http://.....)

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy

Last blog : MIA - Where Nick and Tim
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6280
38506 credits
Members referred : 374


It's time to use PHP5!


« Reply #4 on: Sep 14, 2007, 11:26:31 AM »

Right, but location headers should have complete urls (http://.....)

ok thanks
do I need to add a content header too?


Last blog : 4th of July Lottery from TemplateMonster.com
I am a metal monkey!
Administrator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 7975
40807 credits
Members referred : 3



« Reply #5 on: Sep 14, 2007, 12:06:27 PM »

No. In fact it would be wrong to add one, as the location header indicates that there is no content in this page Smiley

Trial and Error my two best teachers Cool
Join us @ facebook Visit through proxy

Last blog : MIA - Where Nick and Tim
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6280
38506 credits
Members referred : 374


It's time to use PHP5!


« Reply #6 on: Sep 14, 2007, 12:16:56 PM »

No. In fact it would be wrong to add one, as the location header indicates that there is no content in this page Smiley
ok clear Smiley

the good news is that the server has still 220-250 threads but is fast as always (again)


Last blog : 4th of July Lottery from TemplateMonster.com
Global Moderator
Community Supporter ?
Jedai Sword Master
*****
Gender: Male
Posts: 6280
38506 credits
Members referred : 374


It's time to use PHP5!


« Reply #7 on: Sep 14, 2007, 12:17:45 PM »

i think the best thing is to use only text links and not the button anymore Smiley


Last blog : 4th of July Lottery from TemplateMonster.com
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=7105
Tags : rewrite script Bookmark this thread : Digg Del.icio.us Dzone more....

Topic sponsors:
Get a permanent link here for $1.99!


Pages: [1] Print 
Webdigity Webmaster Forums  >  Web hosting talk  >  Configuring your server  >  Apache web server
Topic: best performance?
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
Jul 25, 2008, 12:10:48 AM





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!


Forum Statistics
Total Posts: 35.717
Total Topics: 7.379
Total Members: 3.711
Tutorials : 56
Resources : 143
Designs : 220
Latest Member: Asimina

37 Guests, 5 Users online :

12 users online today:



Readers

Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2008 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.