gocodebox / gocodebox/lifterlms
Optimize getting of settings
Open
hacktoberfest
help wanted
Type: Enhancement
- Dominant language
- PHP
- Stars
- 212
- Forks
- 140
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 19
Description

Looking on course page I see 4 query to get 4 different values.
This 4 queries are made in different pages, usually for this kind of issues is better to have serialized values on the settings to do a unique query and have an array.
Actually I think that a solution can be cache all the options at every load of the page in a global var or do a SQL query that get all the options of the plugin.
Contributor guide
Assessment
This issue has not been assessed yet.