ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 29,663
- Points
- 823
Reputation:
XenForo has a watcher system to automatically detect and update modified template files for Add-on and Style development.
While this does work fine, it is quite inefficient - if enabled every page load might check hundreds of files.
I'd therefore like to suggest a different, IMHO much more efficient approach:
Instead of checking every possible file when a template is requested, implement a CLI command to start a long-running process that uses OS functionality (inotify, etc.) to detect...
Read more
Continue reading...
While this does work fine, it is quite inefficient - if enabled every page load might check hundreds of files.
I'd therefore like to suggest a different, IMHO much more efficient approach:
Instead of checking every possible file when a template is requested, implement a CLI command to start a long-running process that uses OS functionality (inotify, etc.) to detect...
Read more
Continue reading...