Shelob9 / jp-rest-cache

Cache for WordPress REST API (WP-API)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

background_only setting?

kynetiv opened this issue · comments

Hi,

Thanks for your work here, I just read your blog post and then was trying to find a way to use transients with the WP-API and there you were again ;)

Question here is setting the tlc trasients call to background_only() a possibility with the rest api? I've just tried some initial tests and it doesn't appear that the rest_cache_rebuild function gets run and my results for the same query continue to return false. Any ideas?