Page 1 of 1
Clean (pretty) URLS create slower load times?
Posted: Wed Apr 02, 2008 8:18 pm
by skim1114
Will using clean urls create a slowing loading website? I've noticed some lag...but that could be due to other things. I just wanted to see if this is something others are experiencing.
Thanks
Re: Clean (pretty) URLS create slower load times?
Posted: Wed Apr 02, 2008 8:32 pm
by gertvdijk
I always use pretty (rewrited) urls, so I don't have any comparison. Nevertheless, any delay is probably not caused by the CMSMS code, but at the webservers'.
To take Apache as an example:
- If you turn on the Rewrite engine it not only rewrites, but also checks if the url is valid non-rewrited.
- When the mod_rewrite module is loaded, it uses more memory; so less cache space available.
- If you allow .htaccess files in the site's root-dir, it has to scan al the dirlevels up for other (parent) .htaccess files.
Re: Clean (pretty) URLS create slower load times?
Posted: Wed Apr 09, 2008 1:09 am
by skim1114
So what you are saying...is that it can take a little more time.
Re: Clean (pretty) URLS create slower load times?
Posted: Wed Apr 09, 2008 2:22 am
by calguy1000
also... with pretty urls enabled, the php code has to dectect that, and try to generate pretty urls whenever links are created.
So yes.... pretty urls will be a bit slower than otherwise simply because there's more logic in place.