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

Make the landing page faster to load #1011

Open
code-geek opened this issue Sep 6, 2024 · 2 comments
Open

Make the landing page faster to load #1011

code-geek opened this issue Sep 6, 2024 · 2 comments
Assignees

Comments

@code-geek
Copy link
Contributor

Description

Right now since we load all the data all at once, the landing page has become very slow (over 2 seconds to load every single time).

The goal of this issue is to make the landing page faster.

Implementation Considerations

  • Django ORM select_related etc can be implemented to fetch data more judiciously
  • Lazy load data on the homepage with infinite scroll that calls API (pagination on the server side instead of pagination on the client side)
  • Caching (redis/memcached)
  • Database indexes
  • How does this affect Universal Search

Deliverable

  • A faster landing page

Dependencies

No response

@Kirandawadi
Copy link
Collaborator

This task is currently on hold due to its complexity. I will focus on other tasks before returning to this one.

@CarsonDavis
Copy link
Collaborator

I am hopefully working on a benchmarking suite for some of the backend processes, specifically with pattern application times. Hopefully we will be able to tie these two tasks together once that work is finished.

This task will be taken up in 25.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants