Skip to content

Commit

Permalink
Let PHP set default Cache-Control headers
Browse files Browse the repository at this point in the history
For putting Kohana behind a CDN
  • Loading branch information
Jamesking56 authored Sep 26, 2024
1 parent b25c245 commit ff0198b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions classes/kohana/session/native.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@ protected function _read($id = NULL)
Cookie::$httponly
);

// Do not allow PHP to send Cache-Control headers
session_cache_limiter(FALSE);

// Set the session cookie name
session_name($this->_name);

Expand Down

0 comments on commit ff0198b

Please sign in to comment.