[development] Path mapping system
Gerhard Killesreiter
gerhard at killesreiter.de
Thu Dec 29 00:20:45 UTC 2005
Matt Westgate wrote:
>
> On Dec 28, 2005, at 2:18 AM, Bèr Kessels wrote:
>
>> Op woensdag 28 december 2005 07:18, schreef Khalid B:
>>
>>> At present, I am able to alias any URL
>>
>>
>> Sure. But does it scale?
>>
>
> If you were talking about 4.6 I'd say no since ALL aliases were
> loaded per request. However for 4.7 aliases are only loaded when
> they're needed, and then they're cached for the rest of the request.
I'd put it this way: For each use of l() a db query is made to test
whether this url has an alias defined (assuming you have at least one
alias).
People with hosters that only allow them a limited number of queries per
hour will have fun with this.
Cheers,
Gerhard
More information about the development
mailing list