Closed dac514 closed 7 years ago
Merging #6 into dev will not change coverage. The diff coverage is
0%
.
@@ Coverage Diff @@
## dev #6 +/- ##
=================================
Coverage 0% 0%
=================================
Files 2 2
Lines 297 278 -19
=================================
+ Misses 297 278 -19
Impacted Files | Coverage Δ | |
---|---|---|
inc/stats/namespace.php | 0% <0%> (ø) |
|
inc/helpers/namespace.php | 0% <0%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update cdf4c0f...8b78638. Read the comment docs.
There is a new
bin/cache.php
file that can be setup as a cron job, it should be run like this:This will store the rendered html into a transient, and will avoid running the SQL unnecessarily.
Other ways that we could optimize:
pressbooks_stats_exports
could have millions of rows on pressbooks dot com, but the stats page doesn't look further than 4 months. We could delete every now and then?wp_users:user_registered
andwp_blogs:registered
? I'd want to wait for New Relic to see if this is identified as a slow query first though.