You say you want to cache content, so performance appears to be the prime
consideration.  The domain/site setup probably wouldn't be much of a factor.
There's no difference between setting up distinct domains and subdomains,
except at the DNS level.  Each one is a distinct 'host' name, and would have
to be setup as a separate site in most web serves.  The subaccount approach
should require a bit less web server overhead, but I doubt it would be at
all significant unless the alternative is to serve several hundred
domains/subdomains from a single machine.

Two approaches for serving page content might be:  1) generate static pages
for all of the web sites, or 2) place page contents in static files and
CFINCLUDE them (much like your option b).  In either case the caching will
be handled by your OS.  In the first, the web server may provide additional
caching mechanisms, so it might be more efficient.  In the second case,
though, you may have fewer files to cache, since you only cache one copy for
hundreds of site's pages.  If you can bypass CF altogether using the first
approach, generating completely static pages, then that would obviously be
the fastest.

Jim

----- Original Message -----
From: "David Hannum" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Sunday, May 13, 2001 7:09 PM
Subject: Hosting Network of Domains


> Hello,
>
> We're about to launch development of a network of sites where the host
> provides content for potentially hundreds of domains.  We want to cache
> content into text files to be read, vs hitting the database with each page
> view.  We have several options.  We can a) host each domain in an IP-less
> account and retrieve the cached content via either CFHTTP or CFFILE; b)
> create sub accounts (www.ourdomain.com/theirdomain) and pull in the
content
> via CFINCLUDEs; or c) make them subdomains
> (http://theirdomain.ourdomain.com) and again, use CFHTTP or CFFILE to
> retrieve the content.  Any recommendations on this would be greatly
> appreciated.
>
> Dave


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to