Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

Client side caching

Summary

The current user documentation does not allow for caching it's static resources on the client side.

The problem

Steps to reproduce

  1. Go to https://doc.e.foundation/
  2. Assert that the static resources (like fonts) are being downloaded every time you navigate on the documentation

What is the current behavior?

Caching is not being allowed

What is the expected correct behavior?

Allow for browsers to cache the static resources

Technical informations

An example of cache-control that the server responds on a static resource

Relevant screenshots

image

Solutions

Possible fixes

Change the cache-control policy

Edited by Israel Yago Pereira