Skip to content
This repository has been archived by the owner on May 29, 2024. It is now read-only.

Smaller, faster #12

Open
battis opened this issue May 5, 2017 · 0 comments
Open

Smaller, faster #12

battis opened this issue May 5, 2017 · 0 comments

Comments

@battis
Copy link
Member

battis commented May 5, 2017

Don't build every object every time for each API request. Just build the object that's being requested. That is, if the request is:

GET https://example.com/stmarks-search/api/v1/3?query=foo%20bar

…then only search domain 3 needs to be instantiated from config.xml.

Presumably this could be done through some sort of thoughtful session management.

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

No branches or pull requests

1 participant