Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AppMetadata not being cached on the front end #344

Closed
clemente-raposo opened this issue Sep 12, 2023 · 0 comments
Closed

AppMetadata not being cached on the front end #344

clemente-raposo opened this issue Sep 12, 2023 · 0 comments
Labels
Type:Bug Something isn't working

Comments

@clemente-raposo
Copy link
Contributor

Issue

  • AppMetadata is not being cached on the frontend for non admin users. Which leads to performance degradation, as it is being requested on every page change.

Expected Behavior

  • After being feched, the app metadata should be cached on the frontend until a page refresh or a logout

Actual Behavior

  • AppMetadata is not being cached

Possible Fix

Steps to Reproduce

  1. Open app
  2. Login
  3. Go to Accounts or another module list view. Check that AppMetadata is requested
  4. Go to a record of that module. Check that AppMetadata call is requested again
  5. Go back to the list view of that module. Check that AppMetadata call is requested again

Context

Your Environment

  • SuiteCRM Version used: 8.4.0
  • Browser name and version (e.g. Chrome Version 51.0.2704.63 (64-bit)): Chrome
  • Environment name and version (e.g. MySQL, PHP 7): PHP 8.2
  • Operating System and version (e.g Ubuntu 16.04): Ubuntu 20.04
@clemente-raposo clemente-raposo added the Type:Bug Something isn't working label Sep 12, 2023
clemente-raposo added a commit to clemente-raposo/SuiteCRM-Core that referenced this issue Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type:Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant