4.2 Optimize caching and support offline access
Hosting, Infrastructure, and Systems
Use caching and offline capabilities to reduce network load, improve resilience, and balance performance with sustainability.
Success Criteria
- Caching resources:
Use caching to reduce processing time and repeated database queries, API calls, and network requests. Apply server-side caching for dynamic content and client-side caching for resources that do not change frequently. Control cache lifetimes, serve static versions for stable assets, and minimize repeated requests for frequently used resources, balancing against added complexity and maintenance costs to improve how data is delivered. - Offline access:
Keep essential content and functionality available during network interruptions. Provide offline access using web platform capabilities, such as Progressive Web Applications (PWAs), Service Workers, Web Workers, or local storage.