JavaScript
Article

Workaround for VM blocking loading of static resources CSS/JS

By Sam Deering

Documenting some vhost settings fix workaround for VM blocking loading of static resources CSS/JS. Might be useful for someone using Virtual machines and having hanging page loads caused by blocked static content served by Akamai.

127.0.0.1     localhost
# Workaround for VM blocking loading of static resources CSS/JS
# www.domain.com redirects to www.cdn.domain.com
# If it's not working flush your DNS records: ipconfig /flushdns
208.2.218.208     www.domain.com

** NOTE **
You will need to ping cdn.abc.net.au to get the latest akamai node ip address as this changes from time to time.
[latest akamai node ip] www.domain.com

Free Guide:

7 Habits of Successful CTOs

"What makes a great CTO?" Engineering skills? Business savvy? An innate tendency to channel a mythical creature (ahem, unicorn)? All of the above? Discover the top traits of the most successful CTOs in this free guide.

No Reader comments

Recommended
Sponsors
Because We Like You
Free Ebooks!

Grab SitePoint's top 10 web dev and design ebooks, completely free!

Get the latest in JavaScript, once a week, for free.