PDA

View Full Version : Host static images and js in amazon S3


doraj
07-11-2010, 11:57 PM
Hello, I am trying to host my static images and javascript on Amazon S3, to increase the performance of my Community.
I have a question please:

I upload all vBulletin's javascript on Amazon S3, I configured a new my domain and I point it at my amazon s3 server account (url), with a CNAME entry for each sub-domain.
I create:

* jws.mysite.info for javascript
* icons.mysite.info for icons
* etc.
Now, I must change the path of javascript, by pointing it on Amazon S3. To make this I create a new [Add New Replacement Variable], than I setup:

* Set Search for Text to href="clientscript
* Set Replace with Text to href="http://jws.mysite.info.s3.amazonaws.com/clientscript Can you tell me if everything is correct?
Because at the moment I see my forum without layout, completely wrong, but perhaps it is only because I have to wait several hours that the CNAME records become active, until now will be passed about 4 hours.

Thank you