Double hit on bandwidth

  • camperjohn
  • Guru
  • Guru
  • User avatar
  • Posts: 1127
  • Loc: San Diego

Post 3+ Months Ago

HI, I have multiple websites that basically have exactly the same content with different 'skins'.

So what I have is a script that runs on one website, that downloads a text file from the other website to create itself.


- Website A holds text files of all kinds of stuff.
- Websites B,C,D,E download those text files from website A, and create the pages users see.

Here are two examples


Same website, different domains. Neither website actually has a Cats.html file, it is just created ONLY when you request it by downloading the page from yet another server...

The trouble is I am taking a double hit on bandwidth, even though they are on the SAME machine. First I download the text file, then I serve it to you, yet the text file is on the same machine.

Does anyone have any ideas on how to transfer a file, from the same machine, to several websites, through PHP, without taking a double hit?

I was thinking I could do it with MySQL and put all the text files into a database, but that's kind of a pain. And I'm not sure it would still qualify as free bandwidth.

Did I explain the problem well enough? Any ideas?


Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 39 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum

© 1998-2017. Ozzu® is a registered trademark of Unmelted, LLC.