0

Serving static files from an independent host from the rest of my website is supposed to improve performance. I'm cheap, so I was wondering if I can do that within one standard hosting service. Thoughts?

montooner
  • 421
  • 1
  • 3
  • 12
  • I am currently busy with a project on the same topic. I have successfully configured nginx to serve the static files. Can you tell me the type of environment you work in and I will give you some advice on what the best way is to go. – Saif Bechan Apr 02 '10 at 09:13

2 Answers2

1

You could yes, not sure you'd gain any performance however, in fact I'd bet you'd lose a tiny bit of performance due to multi-instance overheads.

Chopper3
  • 101,299
  • 9
  • 108
  • 239
1

Short answer, it depends. If your current Server is a very bloated Apache setup with lots of modules loaded for serving dynamic content and a load of rewrite rules that get evaluated on every request then you can gain quite some performance by running a second server instance like NGINX (http://wiki.nginx.org/) which only uses few MB of core memory and will serve static content to thousands of concurrent clients while barely consuming any CPU.

Lukas Loesche
  • 960
  • 1
  • 7
  • 11