So I am trying to find things to do in order to speed up my website. As I mainly have logged in users (membership site), I am looking into fragment caching and as I am lazy I want to fragment cache as large portions as possible.
Good to know is I am no expert at all in caching and I am just starting to look into this. But my goal is to cache my “page editor” output on each page in order to speed up every single page. I use the code found below in order to do this.
Is this a good solution, or is it bad? If so why, and what can I do instead in order to speed up the website?
What I am doing is basically I save the whole html output from a flexible content field and save it in a transient (I also delete the transient with acf/save_field when I update a page).