0

I want to make my web app fast, especially the first page load (index.html).

Can I do this by hosting myfastapp.com on Rackspace CloudFiles and then have a subdomain called nodeserver.myfastapp.com which connects to a Node Server on Joyent.

Note: The node server will only connect via socket.io to tell the client which additional files to grab from the CDN (myfastapp.com).

Justin Elkow
  • 2,833
  • 6
  • 28
  • 60

2 Answers2

1

There's a guide for this in the Cloud Files docs at Create Static Website.

Everett Toews
  • 10,337
  • 10
  • 44
  • 45
  • Awesome, thanks. Actually, I had a discussion with Rackspace customer service and they said the same thing. I used UPCS [link](https://github.com/chmouel/upcs). The key is to remember to set the mimeType using -C "text/css" (or whatever) when using UPCS. Similar mimeType settings will apply to other CLI tools as well. – Justin Elkow Jan 08 '13 at 06:21
0

There should be no issue with that the logistics of that.

The main issue is getting the main site on Cloud Files due to cname restrictions, at least in the Rackspace system, but it can probably be done.

Carl
  • 1