Actions
Task #7941
openctfreport.php needs to be sped up
Status:
New
Priority:
Normal
Assignee:
Category:
Web interface
Target version:
Start date:
08/14/2019
Due date:
% Done:
0%
Estimated time:
Description
The CTF summary page is very slow, this is an attempt to speed it up. We now run the "getBestCTFByResolution" query once and save to a temporary file that is read by php that generates the summary images.
Updated by Neil Voss over 5 years ago
Perhaps we could use this solution instead of the file:
Just store the array in a session variable like
$_SESSION['ctfdata'] = $ctfdata;
And then at the top of all the pages that you need to call this one put:
start_session(); $ctfdata = $_SESSION['ctfdata'];
Actions