article thumbnail

Headless WordPress: The Ups And Downs Of Creating A Decoupled WordPress

Smashing Magazine

There are a lot of other things you can do with REST API (you can find more details in the REST API handbook ). For that reason, we utilized two WordPress features that can help you out when serving simple JSON data out: Transients API for caching, Loading the minimum necessary WordPress using SHORTINIT constant. post_slug || !

Cache 78