slow website
A long time ago I spent some time optimizing the queries and divided the times by 3. At the same time, I also experimented with using a tag association table ( https://sml.zincube.net/~niol/repositories.git/selfoss/log/?h=tag-assoc-table ) and saw that there was no performance improvement.
Implementing the *WithUnread() functions was part of this optimization. Before, there was a loop in php. Trust me it was really worth it.
Regarding optimizing this, maybe a subquery? Otherwise a cache.
Complete thread:
- slow website -
themba,
2019-02-11, 23:14
- slow website -
jtojnar,
2019-02-12, 02:09
- slow website -
themba,
2019-02-12, 09:16
- slow website -
themba,
2019-02-16, 17:31
- slow website -
jtojnar,
2019-02-17, 11:13
- slow website -
themba,
2019-02-17, 11:45
- slow website -
jtojnar,
2019-02-17, 19:21
- slow website - niol, 2019-02-18, 09:59
- slow website -
jtojnar,
2019-02-17, 19:21
- slow website -
themba,
2019-02-17, 11:45
- slow website -
jtojnar,
2019-02-17, 11:13
- slow website -
themba,
2019-02-16, 17:31
- slow website -
themba,
2019-02-12, 09:16
- slow website -
jtojnar,
2019-02-12, 02:09