You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem: Large index.js File Causes Slow Page Reload
Description
The current approach of bundling all Directus extensions into a single index.js file located at:
{directus_url}/extensions/sources/index.js
...causes significant delays when reloading the page, especially as the number of extensions grows. As this file increases in size, it impacts performance and results in slower load times.
Steps to Reproduce
Add multiple extensions to Directus.
Refresh the Directus app page.
Observe the long loading time due to the large index.js file.
Expected Behavior
Extensions should load efficiently without negatively impacting page reload times. Possible solutions could include:
Splitting the index.js file into smaller chunks.
Utilizing a dynamic module loader to handle extensions on-demand.
Actual Behavior
All extensions are bundled into a single, large file, leading to slow reloads as the file size grows.
Visual Evidence
Another project with little extension
The text was updated successfully, but these errors were encountered:
Describe the Improvement
Problem: Large
index.js
File Causes Slow Page ReloadDescription
The current approach of bundling all Directus extensions into a single
index.js
file located at:{directus_url}/extensions/sources/index.js
...causes significant delays when reloading the page, especially as the number of extensions grows. As this file increases in size, it impacts performance and results in slower load times.
Steps to Reproduce
index.js
file.Expected Behavior
Extensions should load efficiently without negatively impacting page reload times. Possible solutions could include:
index.js
file into smaller chunks.Actual Behavior
All extensions are bundled into a single, large file, leading to slow reloads as the file size grows.
Visual Evidence
Another project with little extension
The text was updated successfully, but these errors were encountered: