I have (high traffic) my site which is completely static. All site URLs are relative, so now everything works if I just point my browser to http://gj232j2j213.cloudfront.net/blah.
I would like to place the whole thing (not only images and css, but also HTML) in Cloudfont (or some other CDN).
Ideally, I could add something like:
GET /static/ staticDir:http:
in the routes file. Thus, my URLs would look like www.mydomain.com/static/main.html, and I would not have to deny the user another subdomain as they moved between my static and non-stationary URLs.
Any ideas? Am I mistaken?
source
share