-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
luci-lua-runtime/luci-base: luci menu cache issue [23.05] #6528
Comments
In the previous version, for the lua controller, the lua code was cached, not the menu. |
I'm afraid that the caching is something I won't roll back, constantly rebuilding the menu and synchronizing it with the client is just too much work, but maybe we can figure out a smarter way for cache invalidation. |
I use this patch to force outdate cache after 5 seconds jjm2473@a430de5 May still cause performance impact on low-performance platforms. |
I suggest lua controller cache code, and the json menu add dependencies to the calculation of cache hash |
See #6422 (dupe?) |
After wifi module auto configured, menu not shown "Wireless". Same issue appears on Docker, if I open luci on browser on boot, Docker maybe not start on that time, menu will not show Docker menu even after docker started.
rm -f /tmp/luci-indexcache*
drop the cache resolv that.The text was updated successfully, but these errors were encountered: