Traditional web hosting architecture implements a standard three-tier web application model that separates the architecture into the presentation, application, and persistence layers. As shown in the following architecture diagram, caching is applied at the presentation, persistence, and application layers:
Cache distribution pattern architecture
One of the ways you can offload your web page is through caching. In caching patterns, your goal is to try to hit the backend as little as possible. You can write an application where you can cache images, JavaScript, or even full pages to provide a better experience for your users. As shown in the preceding diagram, caching is applied to the various layers of architecture:
- Amazon Route 53 provides DNS services to simplify domain management and to help cache DNS-to-IP mapping.
- Amazon S3 stores all static content such as high-resolution images and videos.
- Amazon CloudFront provides...