datagouv/explore.data.gouv.fr

Data stored in cache cannot be refreshed by users

Opened this issue · 0 comments

Description:

Currently, the project is storing data in cache on the server to improve performance. However, once the data is cached, users are unable to refresh it manually. This can be problematic for users who need the latest information and have no other way to obtain it.

Proposed solution:

We need to implement a mechanism that allows users to refresh the cached data. One option could be to provide a button or link that triggers a cache invalidation and forces the system to retrieve the latest data from the source.

Steps to reproduce:

  1. Access the application and navigate to a section where data is displayed.
  2. Observe that the data is cached and cannot be refreshed.

Expected behavior:

Users should be able to refresh the cached data manually, either by clicking a button or a link.

Actual behavior:

Users are unable to refresh the cached data, which can be frustrating and limit the usefulness of the application.