PlatonOrg / platon

Platform for Learning and Teaching Online: Open Source Education Platform
Other
8 stars 0 forks source link

Caching issues with old versions of PLaTon #166

Open Nomehh opened 2 months ago

Nomehh commented 2 months ago

Description

After deploying a new version of the application, some users are still loading older versions, causing errors. It appears that static files are being cached by the browser, leading to incompatibilities between the API and the outdated frontend.

Expected Behavior

Users should automatically load the latest version of the application after an update without experiencing issues due to cached files in the browser.

Steps to Reproduce

  1. Deploy a new version of the Angular/NestJS application.
  2. Access the application in a browser that has cached an older version.
  3. Notice that certain static resources (JS/CSS) are still being loaded from the cache, resulting in compatibility issues with the API.

Possible Solutions :