[wp-trac] [WordPress Trac] #14833: performance serving static files
WordPress Trac
wp-trac at lists.automattic.com
Fri Sep 10 13:01:06 UTC 2010
#14833: performance serving static files
-------------------------+--------------------------------------------------
Reporter: sdboer | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.1
Severity: normal | Keywords:
-------------------------+--------------------------------------------------
What we are seeing with wordpress3 multisite installations (with
subdirectory option) is that the references to, for example, .css files
inside pages from a blog point to the filesystem under
"http://host.domain.tld/blogname/path/to/file.css".
The file in this case is found on the filesystem under
"http://host.domain.tld/path/to/file.css".
The requests are then rewritten to php which in turn will serve out the
correct file.
What is worrying about this is in situations where the blog gets a
serious number of hits per minute. Files served out by apache directly
from the filesystem can be served out by a single gigabit server at
wirespeed to many simultaneous clients. This is much less the case for
requests processed by php.
In this particular case if the files referenced from blog pages would
point to the correct location on the filesystem, you can benefit from the
fact that requests resulting from those references don't have to be
processed by php.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14833>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list