logoalt Hacker News

paulnpacelast Saturday at 10:57 AM1 replyview on HN

Cache plugins still go through the PHP interpreter. I'm under the impression there still isn't anything faster than serving HTML files.

Better is use a static site plugin, then you don't have to bother with configuring any caching or external services.

Best is also use the SQLite Database Integration plugin, so the server doesn't even have to run MySQL/MariaDB (other than initial installation), and on an otherwise light server, the filesystem will effectively keep the site in page cache while using less memory, if I understand that correctly.

The WordPress interface can be kept behind HTTP auth or client cert.


Replies

vntoklast Saturday at 8:43 PM

> Cache plugins still go through the PHP interpreter. I'm under the impression there still isn't anything faster than serving HTML files.

Several WordPress caching plugins, like W3TC (https://wordpress.org/plugins/w3-total-cache/), actually add rules to your Apache/Nginx server so that the cached HTML pages are served statically without touching PHP.