greengerong / Prerender_asp_mvc

Prerende client for asp.net mvc
http://prerender.io/
86 stars 39 forks source link

Add ability to ignore all subdomains. #25

Open aoakeson opened 8 years ago

aoakeson commented 8 years ago

This adds the ability to ignore all subdomains using a web config setting. If ignoreAllSubdomains is set to true, it will check the URL for a subdomain. If it contains a subdomain, it wont be prerendered. This functionality is necessary for sites with many subdomains.

greengerong commented 7 years ago

Maybe we give the ignore list will be better(blacklist config with regex)? Do you think is it ok? @aoakeson