Disable queryset caching by default #5084

Closed
opened 2025-12-29 19:23:56 +01:00 by adam · 0 comments
Owner

Originally created by @jeremystretch on GitHub (Jul 21, 2021).

Originally assigned to: @jeremystretch on GitHub.

Proposed Changes

Change the default CACHE_TIMEOUT setting from 900 seconds to zero, effectively disabling caching. This will have no effect on NetBox deployments with CACHE_TIMEOUT defined in configuration.py.

Justification

Queryset caching is being removed in NetBox v3.0 (see #6639) due to frequent issues with cache invalidation. There's really no reason to keep it enabled by default for new deployments.

Originally created by @jeremystretch on GitHub (Jul 21, 2021). Originally assigned to: @jeremystretch on GitHub. ### Proposed Changes Change the default `CACHE_TIMEOUT` setting from 900 seconds to zero, effectively disabling caching. This will have no effect on NetBox deployments with `CACHE_TIMEOUT` defined in `configuration.py`. ### Justification Queryset caching is being removed in NetBox v3.0 (see #6639) due to frequent issues with cache invalidation. There's really no reason to keep it enabled by default for new deployments.
adam added the status: acceptedtype: housekeeping labels 2025-12-29 19:23:56 +01:00
adam closed this issue 2025-12-29 19:23:56 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5084