﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
12603,When Wordpress shows a web page in reality is loading more of one behind,Ideasnopalabras,,"When Wordpress displays a web page really is loading more than one page at the same time in the background.

For example if we open an interior (a single):
http://ideasnopalabras.com/2010/07/sample1/

Wordpress load that page and displays it normally, but behind load other pages immediately:
http://ideasnopalabras.com/2010/08/sample2/ 
and/or
http://ideasnopalabras.com/2010/06/sample0/

And sometimes also charges the principal (Home):
http://ideasnopalabras.com/

That is, for a request for a page, load actually at least 3 web pages. This problem apparently only happens with Pretty Permalinks.

To observe it carefully, record requests for the URL and load a single page and see that several pages are load at same time. You could use my function below, just have to put it at the beginning of the file ""functions.php"" of any theme. Just look at the file ""recordRequestURI.htm"" generated for to log requests.


{{{
<?php
debug_recordRequestURI();
function debug_recordRequestURI()
{
 $aux=isset($_SERVER[""REQUEST_URI""])?$_SERVER[""REQUEST_URI""]:false;
 $registro=""REQUEST_URI: $aux <br />"";
 
 $fFichero=fopen(WP_CONTENT_DIR.""/recordRequestURI.htm"",'ab');
 if($fFichero)
	{
	fwrite($fFichero,$registro);
	fclose($fFichero);
	}
}

?>
}}}

I hope my observation be useful for the community and you can solve it, because so Wordpress is eating up server resources. Thank you.
",defect (bug),closed,normal,,Performance,2.9.2,normal,invalid,reporter-feedback,GautamGupta
