opReports 3.1.10 introduces a newly developed  known_reports_cache  to speed up the loading of reports:

When the known_reports_cache is enabled and one deletes generated reports via the commandline or in a cron job, it is necessary to update the  known_reports_cache flag files modified time to flag that the cache must refresh - this command will suffice:


Flushing the cache with the above command is safe and may also be useful in problem-solving.


The performance of the opReports known_reports_cache can be summarised as follows, when checked on a virtual server with 4 CPUs , 16GB of RAM, not using any swap, and with 2.7GB size of /path/to/omk/var/ directory:


opReports Page LoadedTime to load without known_reports_cache (seconds)Time to load with known_reports_cache (seconds)
Dashboard15.5316.52
Operational Status40.27

15.36

Report Schedules17.563.29
Saved Reports26.0113.48
Opening grouped_capacity Report within Saved Reports Page86425.23
On-Demand Reports18.243.33
Opening grouped_capacity Report within On-Demand Reports Page95425.43