5 ms·
> For example, imagine you build the plainest possible website, with static content. Do you want WordPress to run PHP on the web server every time someone visit
by badrequest 7y ago
> For example, imagine you build the plainest possible website, with static content. Do you want WordPress to run PHP on the web server every time someone visits a page? Of course not. But unless you install a caching plugin, that’s the situation you’re in.
Or, and maybe I'm being crazy here: don't use Wordpress if all you need is a static site?
- tomcooks 7y agoCue in Concerned Client #382716: "but then how do we update the website independently"
- deleted 7y ago[deleted]
- earthboundkid 7y agoNetlifyCMS :-)
- tomcooks 7y agoNeeds server side is, most Concerned Clients have a cpanel shitsite with PHP and mysql
- deleted 7y ago[deleted]
- 4mpm3 7y agoThis means "even if your WordPress site is as simple as you can imagine, there's still PHP running to make it happen"
- billars 7y agocaching is not about loading a static version of your website, you could cache parts of the page and/or regenerate whole pages if content changes; diverging from the intent of the post you could also talk about caching php objects in some persistent way etc.. none of which is covered by out of vanilla wp even if the core exposes an object caching api https://codex.wordpress.org/Class_Reference/WP_Object_Cache https://codex.wordpress.org/Class_Reference/WP_Object_Cache.