Now it takes a lot of time to create all the builds.
They're required:
when listing builds in the build page
in the build detail
The approach should be:
create the builds statically and save them as a dependency of the project (this point is to be defined). This should be a map to have access to it through hash directly.
Get the list of builds' hashes
Store them into local storage (quite lighter than whole build objs)
Save the hash of this list in local storage too
Resolve the build through hash from the static map build
I cannot save directly the builds' list in local storage since it's too big (that's what she said).
This way builds are created once and not everytime the user access the page.
It's already better, but it's not enough. Builds' page requires like 3 seconds to load on a fast connection. Also, the loading is at route change so it seems like nothing is happening
Now it takes a lot of time to create all the builds. They're required:
The approach should be:
I cannot save directly the builds' list in local storage since it's too big (that's what she said). This way builds are created once and not everytime the user access the page.