Skip to content

Page loading is slow #82

@dylanmcreynolds

Description

@dylanmcreynolds

On a smokin' fast server, this GET takes 7 seconds: https://splash-staging.lbl.gov/api/v1/pages?page=1&page_size=5 to return only four pages.

This request is getting the full content of each page. Even then it should be a lot faster.

Some thoughts:

  • Are we searching on an unindexed field?
  • Looks like we need a new query (new endpoint?) that can let the client request fields they want returned so that we don't need to get the whole content of every page.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions