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

Move application form into the /reveal endpoint #343

Closed
jace opened this issue Jun 10, 2016 · 0 comments
Closed

Move application form into the /reveal endpoint #343

jace opened this issue Jun 10, 2016 · 0 comments

Comments

@jace
Copy link
Member

jace commented Jun 10, 2016

When a logged in user views a jobpost, an ApplicationForm is instantiated and included in the page behind a reveal button ("Show information") in case they want to apply.

Instantiating ApplicationForm makes a REST call to Lastuser to retrieve the user's email addresses, to ensure this information is never stale.

However, most users do not continue to the reveal button and so their freshly retrieved email address is never used.

The call to Lastuser is one of the most time-consuming parts of rendering a jobpost page. It should be part of the data returned by the reveal endpoint and not loaded in the main render.

@jace jace closed this as completed in b46109e Jun 10, 2016
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

1 participant