Disable source code caching #9429
-
TL;DR: how to disable every possible caching mechanism for netbox? I write custom modules and often netbox shows me output of what was in the code few versions of file ago, this slows down development. The problem is most noticeable with validators in /opt/netbox/netbox/ directory, hadn't had much of a trouble with reports in /etc/netbox/. Tried with no success so far:
Emptying out redis cache settings breaks netbox. Deleting and rebuilding all the containers and volumes on every edit is not optimal. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
Are you running NetBox's using Django's development server? This will automatically restart when changes to the code base are detected. |
Beta Was this translation helpful? Give feedback.
Are you running NetBox's using Django's development server? This will automatically restart when changes to the code base are detected.