How to execute something at webman start
- Dominant language
- PHP
- Stars
- 2.7k
- Forks
- 251
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
Trying to figure out what is the best way to execute a DB query at webman start, without a need to run a query for every single request.
In my case, I am trying to load a complex category structure into a variable for later use. Static configuration in app.php is not sufficient nor do I want to query redis if the structure is cached.
Thanks!
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue does not name a file, test, or startup entry point. Begin by locating webman's application-startup and initialization documentation or entry points, then verify how a one-time database load can be performed and retained without running the query on every request.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100