Skip to content

Performance & Slowness ​

Slow UI, slow endpoints, or timeouts.

Symptoms ​

  • Pages take more than 3 seconds to load
  • API calls time out or take more than 5 seconds
  • The app feels sluggish after adding many records
  • Specific screens are slow while others are fast

Diagnosis checklist ​

  1. Open the browser DevTools (F12) → Network tab and identify the slowest requests
  2. Check the environment — Dev environments have smaller resources than Prod
  3. Check the record volume — large datasets without pagination can cause slowness
  4. Check if the issue is consistent or happens after a specific action

Common causes and solutions ​

Slow list screens ​

Cause: query loading too many records without filtering or pagination.

  • Check that list screens have pagination enabled (default: 20 records per page)
  • Add an index to frequently filtered fields using Editor Mode → Entity → Fields
  • Add default filters to reduce the initial query size

Slow form load ​

Cause: form loading too many relationship options in a dropdown.

  • For large relationship datasets, enable lazy loading on the field in Editor Mode
  • Add a search option to relationship dropdowns instead of loading all options upfront

API timeout ​

Cause: complex query, missing index, or resource limits on the environment.

  • Check the API request path in DevTools — identify which endpoint is slow
  • Add database indexes to the fields used in filters and joins
  • If on Dev: consider upgrading to Staging/Prod for better resources

Slow after many records ​

Cause: missing database indexes on filterable fields.

  1. Go to Editor Mode → Entity
  2. For each field used in list filters or sorts, enable Index
  3. Re-deploy the environment (index creation requires a migration)

Everything is slow ​

Cause: infrastructure issue or resource saturation.

  • Check the Status Page for ongoing incidents
  • If no incident: escalate with a description of affected screens and request volume

Prevention tips ​

  • Design list screens with sensible default filters (avoid "show all" as default)
  • Index fields that users will filter or sort by frequently
  • Test with realistic data volumes before going to Prod (use seed data in Dev)
  • Monitor slow queries using the Runtime logs panel

© Madrix Software. All rights reserved.