Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2009-06-17 07:17:54

Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533

Re: Short URLs and rev=canonical

Bloke wrote:

I didn’t know that, thanks for the tip. Perhaps I’ll use one of the faster string functions as you suggest. I’ll see if I can make it robust enough by counting slashes. Cheers, man.

Well it’s not too slow, just bit overbloated :). Compared to get_browser(), and some other header functions, it’s really fast.

I think you won’t need to change it (it’s just fine as it is :P), because the parse_url() is only used when redirecting, and called only once per request.

I was just thinking aloud :)

Last edited by Gocom (2009-06-17 07:20:41)


Board footer

Powered by FluxBB