php – When the slideshow webpage is reopened, loading the webpage is very slow

Here is a script that opens about 200 images. The first time you open the web page, loading 200 images is fast. The slideshow only displays one image at a time, as shown below.
slideshow

However, if you reopen the page, it takes about 4 minutes to load the same page a second time. I thought that if this data was stored in the cache, it would be a great idea if it were to be reopened. However, I tried to add the cache memory store but still no luck. Please advice.

session_start ();
header ("Cache-Control: post-check = 0, pre-check = 0", FALSE);
header (& # 39; Pragma: no-cache & # 39;);


if (! isset ($ _SESSION['token']) && (! isset ($ _SESSION['user']))) {
echo "";
}
requires & dquo; db.php & # 39 ;;
$ upload_id = $ _GET['id'];
$ customer = $ _GET['NAME'];
?>



Display | <?=$client;?>












<img src = style = "width: 130%; height: auto;" data-zoom-image => <! -
->
& nbsp;
& nbsp; & nbsp;
& nbsp;