Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have been looking into using http caching for one of my projects on heroku. The site is serving primarily dynamicish (meaning that the actual contents doesn't change that often) iFrame's and javascripts.

If I am understanding http caching services correctly (ie CloudFront, Edgecast & Akamai also has a similar solution) I will be able to technically scale my server nodes down considerably so long as I set the ttl on the cache to a reasonable amount of time. I am thinking 24-48 hours which means there should be only one request to the server in that time right?

Am I correct with this assumption?

Thanks

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Yes, something like CloudFront would allow you to dramatically reduce load.

If you use unique URLs for updated resources - like script_201110091213.js - you can even set a far-future TTL and just change the URL to the script whenever you change things in the script.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.