performance serving static files
|Reported by:||sdboer||Owned by:|
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.
Change History (10)
- Component changed from General to Multisite
- Keywords needs-patch added
comment:9 SergeyBiryukov — 13 months ago
- Keywords needs-patch close removed
- Milestone Future Release deleted
- Resolution set to invalid
- Status changed from new to closed