Releases: brefphp/bref
Releases · brefphp/bref
0.2.21
0.2.20
0.2.19
#43, #44: Add the intl
extension by @t-geindre
The extension is not installed by default, it needs to be enabled in .bref.yml
.
Read more about PHP extensions here.
0.2.18
0.2.17
0.2.16
0.2.15
0.2.14
0.2.13
0.2.12
#14: Opcache is now installed and configured
Opcache usually works in memory, compiling PHP code to opcode and caching it in memory between HTTP requests. Since on lambdas the PHP process is terminated between requests, the classic behavior of opcache doesn't work (the cache is cleared every time).
To make opcache work we enable its "file cache" mode where opcache writes the opcode into a file (with the opcache.file_cache
option). When the PHP process starts, it reads the opcodes from the file cache.
On the API platform demo, when getting a list of books (uses the database):
- without opcache: 220ms
- with opcache: 105ms