Skip to content

Commit

Permalink
Merge pull request #334 from mrelkabany/master
Browse files Browse the repository at this point in the history
Caching directives
  • Loading branch information
akzhan committed Jun 12, 2012
2 parents 361edb0 + 285f657 commit 8637f1f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/fileManager/handlers/PHP/common.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ function json_response ($json, $exit = true) {
$json = json_encode($json);
}
header("Content-type: application/json; charset=utf-8");
header("Cache-Control: no-cache, must-revalidate");
echo $json;

if($exit) {
Expand Down

0 comments on commit 8637f1f

Please sign in to comment.