Top 5 Caching Best Practices

Document created by B-3-SFDLJF Employee on Jun 4, 2015Last modified by B-3-SFDLJF Employee on Jun 4, 2015
Version 2Show Document
  • View in full screen mode

We are constantly being asked at Akamai what some of the best caching practices are.  Below I've consolidated a list and their importance:


  • Downstream Caching
    • Downstream caching allows the browser to store information that doesn't get changed often; this way the end user doesn't even have to go out to the internet in order to retrieve information.


  • Lengthen TTLs at Akamai
    • The less often Akamai has to go back to your origin, the less utilized your infrastructure is going to be; freeing up valuable computing resources.


  • Dynamic Page Caching
    • Caching an entire HTML page dynamically rather than just the individual assets will help increase your offload significantly.  Moving logic to the edge will help with performance improvements, TTFB (Time to First Byte), and offload.


  • Utilize EdgeControl Headers for Dynamically Cached Content
    • If you have content that changes frequently during the day but doesn't change often at night, you can control Akamai cache from the origin by utilizing EdgeControl headers.


  • Use ESI / AJAX to pull personalized info from an API.
    • Caching personalized information allows for more Dynamic Page caching, asynchronous loading, and an overall better user experience.


If you'd like additional information; Steve Souders from Yahoo wrote a great blog article adding additional color on caching strategies:


Cache them if you can | High Performance Web Sites