Skip to content

Commit

Permalink
Disable plugin caching in diagnostic mode
Browse files Browse the repository at this point in the history
This feature helps to diagnose and avoid caching issues, by getting a fresh copy from the web server.
  • Loading branch information
stickz authored Jan 28, 2023
1 parent aeb9f62 commit 1755039
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion php/getplugins.php
Original file line number Diff line number Diff line change
Expand Up @@ -552,4 +552,7 @@ function testRemoteRequests($remoteRequests)
closedir($handle);
}

CachedEcho::send($jResult,"application/javascript",true);
if ($do_diagnostic)
CachedEcho::send($jResult,"application/javascript",false);
else
CachedEcho::send($jResult,"application/javascript",true);

0 comments on commit 1755039

Please sign in to comment.