[wp-hackers] Site Address during development

Otto otto at ottodestruct.com
Thu Sep 2 14:32:25 UTC 2010


On Thu, Sep 2, 2010 at 7:36 AM, Michael Clark
<dc153464a11bcf5aeb18180db28017fb.wp-hackers at planetmike.com> wrote:
> Actually, it seems silly to embed the domain name into the posts and pages
> at all. It's adding a bit to the page, plus possible delaying the loading of
> pages by fractions of a second as the page requests have to hit DNS.
> Shouldn't everything embedded be relative to the root directory of
> WordPress? Thanks, Mike

1. Browsers cache DNS requests. So do operating systems.

2. Your content isn't only displayed on the website. Feeds can contain
it too. And relative URLs don't work there.

-Otto


More information about the wp-hackers mailing list