Skip to content

Commit

Permalink
Recommend header mode with PHP loader
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasbestle committed Mar 19, 2023
1 parent dbc9d0f commit 4a4c130
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,8 @@ To load the static cache files from PHP, please place the following code snippet
})();
```

If you want to use the PHP loader, we recommend to use it together with header support (see below). Storing the headers increases performance by a bit and also gives you more accurate responses.

### Header support

Staticache stores only the response bodies by default. The HTTP status code as well as headers set by your pages are not preserved in this mode. This ensures compatibility with all web servers.
Expand Down

0 comments on commit 4a4c130

Please sign in to comment.