[wp-hackers] WP Development & Production Sites
Mike Little
wordpress at zed1.com
Sun Nov 28 17:35:28 UTC 2010
On 28 November 2010 16:29, Gavin Pearce <Gavin.Pearce at 3seven9.com> wrote:
> > You're corrupting your
> > content by making it incapable of standing alone, and this sets you up
> > for problems down the road.
>
> The (slim) counter argument to this of course, is that you're corrupting
> your content with absolute URLs, that are also subject to change.
>
> Taking your 'average' WordPress use-case, relative URLs would be more
> than adequate, as the content will be used within the main WordPress
> instance. RSS feeds being the exception of course - but the exception
> being the place that the extra leg work required makes the most sense.
>
>
Dare I point out (again on this issue), that the 'average' WordPress
use-case is the hundreds, thousands, or if you are lucky millions of hits
day in and day out, on both your html pages and RSS feeds. *Not* the
once-in-a-lifetime (if that, for most sites) transition from dev to live, or
from server 1 to server 2 that has to be managed by dev anyway.
Why burden those millions of hits with a calculation every time? There is
enough processing of the content going on already without adding to that.
As a developer, yes, this is an issue one comes across regularly. But it is
a transitory issue (when you move from dev to live, occasionally when you
update your test/dev rig from live) but per site it is very rare. Whereas
the translation of relative URLs in RSS feeds, and wherever else they are
needed should not have to occur on *every* hit, which is what you are all
proposing.
Mike
--
Mike Little
http://zed1.com/
More information about the wp-hackers
mailing list