Clean (pretty) URLS create slower load times?

General project discussion. NOT for help questions.
Post Reply
skim1114
Forum Members
Forum Members
Posts: 40
Joined: Thu Sep 27, 2007 12:36 am

Clean (pretty) URLS create slower load times?

Post 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
gertvdijk
Forum Members
Forum Members
Posts: 13
Joined: Tue Aug 28, 2007 2:58 pm

Re: Clean (pretty) URLS create slower load times?

Post 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.
skim1114
Forum Members
Forum Members
Posts: 40
Joined: Thu Sep 27, 2007 12:36 am

Re: Clean (pretty) URLS create slower load times?

Post by skim1114 »

So what you are saying...is that it can take a little more time.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Clean (pretty) URLS create slower load times?

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Post Reply

Return to “General Discussion”