-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the applicationIntroduction of new functionality to the application
Description
NetBox version
v3.7.6
Feature type
Change to existing functionality
Proposed functionality
Add caching on the /api/schema/ endpoint with a sane default (maybe 300 seconds?) and with the possibility to configure it in configuration.py
Use case
Generating openapi schema takes some time, caching it would:
- Decrease response time when doing multiple calls to
/api/schema/ - Lower the resources needed from application server (since less openapi schemas will be generated)
Database changes
None
External dependencies
None
Metadata
Metadata
Assignees
Labels
status: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the applicationIntroduction of new functionality to the application