Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0large SiteURLs.config file?large SiteURLs.config file?
Previous
 
Next
New Post
8/22/2008 2:30 PM
 

Hi guys,

I am brainstorming for the best way to make seo-friendly urls for a large amount of products (2000+) in a store running on the Sysdatanet Store module. Right now I am considering writing a scheduled task that would generate an entry in the SiteURLs.config file for each product in the Sysdatanet Store. So my question to you is, how might having a 2000 line SiteURLs.config file effect my installation of dotnetnuke? Would DNN have to parse this file and review every entry time a user makes a page request? Or does DNN have a more elegant method of handling this data?

TIY for your ideas everyone!

 
New Post
9/5/2008 7:17 PM
 

After looking at the code for UrlRewrite, it shouldn't be an issue as the file SiteUrls.config is loaded once and a dependency is created which means if the file changes it is reloaded.  From that point on it simply takes the incoming request and does RegEx a checks against the list of URLs.  That should be very fast given that it will already be memory resident.

 
New Post
9/6/2008 10:44 AM
 

Although the expressions are cached in memory, an O(n) operation on every page request could still be potentially prohibitively expensive -- especially with complex expressions.  4.9 contains a performance improvement for this matching, and in discussing this improvement, I did a little benchmarking (with a simple expression) that includes some data with n = 1000.  Read more here.

Brandon


Brandon Haynes
BrandonHaynes.org
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0large SiteURLs.config file?large SiteURLs.config file?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out