Y
Hacker News
new
|
ask
|
show
|
jobs
by
colejohnson66
2024 days ago
PHP does the same. It’s compiled to a bytecode before execution. But I don’t think it’s cached anywhere like Python (but that may have changed in the decade since I’ve used it)
2 comments
meibo
2024 days ago
PHP has had an OPCache as an add-on since 5.1.0(around 2004), and by default since 5.5.0:
https://www.php.net/manual/en/intro.opcache.php
link
cubano
2024 days ago
It better be cached or else that would be a total tradegy... why wouldn't you automatically want to cache the prerendered pages whenever possible?
It's not like writing a basic cache is very hard...or just "borrow" one from an OS implementation.
link