[wp-trac] [WordPress Trac] #12603: When Wordpress shows a web page in reality is loading more of one behind
WordPress Trac
wp-trac at lists.automattic.com
Sun Mar 14 07:47:52 UTC 2010
#12603: When Wordpress shows a web page in reality is loading more of one behind
-----------------------------+----------------------------------------------
Reporter: Ideasnopalabras | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: Unassigned
Component: Performance | Version: 2.9.2
Severity: critical | Keywords: permalinks, load, REQUEST_URI, server resources, performance
-----------------------------+----------------------------------------------
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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12603>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list