Computers |
|
| | #1 (permalink) |
| Newb Techie Join Date: Jul 2008
Posts: 30
| I read that removing PHP from the <head> can increase download speed.I know very little about PHP, enough to wreck my website. I hear PHP can be overused and that websites load faster with less PHP in the <head>. Can the PHP in this line be reduced to non PHP? I wouldn't think so because it appears to be a formula for finding the titles of the different pages of the website. <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title> This line <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> I would think can be reduced by changing "<?php bloginfo('stylesheet_url'); ?>" to the address of the CSS page (ie www.mysite.com/mycss.css) , so long as all the pages use the same CSS page. This line <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats --> Can't I just change this to <meta name="generator"content="WordPress 2.5.1" /> and change the versio as I update? This line <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> I have no idea what this line does and if it can be changed to non PHP. This line is also in the <head>. <?php wp_get_archives('type=monthly&format=link'); ?> What is it for?, although it doen't look like it can be reduced to no PHP Thanks Much |
| | |
| | #2 (permalink) |
| Every Kudo = 1 Puppy Dead Join Date: Oct 2007
Posts: 1,192
| There is really no point IMO, even if it did slow it down, it would be in the milliseconds. And yes, you do need that PHP. Infact, they want to phase out HTML and just use PHP in the future.
__________________ ![]() My pick up line is: I know Vernong. Trotter: "Ask all the questions you want... whatever we don't know, we'll make up something that sounds pretty good." Last edited by zedman3d; 07-21-2008 at 12:00 AM. |
| | |
| | #3 (permalink) |
| T.F's Resident Cool Guy.. | PHP is executed server side not client side. Due to the speed in which servers can process this infomation (like zedman3d said) it would only account for a few miliseconds. It is really not worth the fuss ; Cheers, ~ Tkey |
| | |
| | #4 (permalink) |
| Newb Techie Join Date: Jul 2008
Posts: 30
| This site is why I asked this question WordPress template optimization - Speed up WordPress When the server is busy, I would think fewer runs to the site's database(s) would get faster download times. Thanks, Rex |
| | |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Torrent upload speed effect download? | enigm@tic | Browser & General Internet Questions | 5 | 07-26-2008 12:04 AM |
| Bandwidth Speed Problems. | KoopaxStar | Computer Networking & Internet Access | 1 | 06-21-2008 02:14 PM |
| Random Download Speed Spikes ? | Oreo | Browser & General Internet Questions | 10 | 04-02-2008 08:06 PM |
| Download Speed | smileii | Browser & General Internet Questions | 1 | 10-15-2007 05:28 AM |
| Limit http download speed. | ncjimn | Computer Networking & Internet Access | 2 | 09-08-2007 03:54 PM |