Project

General

Profile

Actions

Task #7941

open

ctfreport.php needs to be sped up

Added by Gabriel Lander about 5 years ago. Updated about 5 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
Web interface
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.

Actions #1

Updated by Neil Voss about 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

Also available in: Atom PDF