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
Instead of dynamically rendering the landing page transient statistics by querying the database and constructing a bar chart every time the page is requested, we could use a Celery Beat periodic task to pre-render this content such that static files are served instead. Some ideas for implementation:
The numerical values could be directly saved to the static HTML file on disk by rendering an HTML template.
The bar chart could be rendered as a static image file instead of an interactive widget given the lack of need for interactivity here.
These static files would ideally be stored in the existing static files depot that is served by the NGINX proxy instead of the Blast API server.
The text was updated successfully, but these errors were encountered:
Instead of dynamically rendering the landing page transient statistics by querying the database and constructing a bar chart every time the page is requested, we could use a Celery Beat periodic task to pre-render this content such that static files are served instead. Some ideas for implementation:
These static files would ideally be stored in the existing static files depot that is served by the NGINX proxy instead of the Blast API server.
The text was updated successfully, but these errors were encountered: