We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 295bfa8 commit 775577cCopy full SHA for 775577c
2 files changed
lib/phpExpress.php
@@ -33,6 +33,7 @@ public function __construct()
33
34
public static function send($result, $cache = false)
35
{
36
+ // cache option control
37
if ($cache) {
38
header("Cache-Control: max-age=3600"); // (https://webhint.io/docs/user-guide/hints/hint-http-cache/?source=devtools)
39
} else {
phpExpressLogo.png
13.7 KB
0 commit comments