janboddez / feed-reader

A very simple feed reader plugin for WordPress

Home Page:https://feedreader.site

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use static variables, rather than WP's object cache?

janboddez opened this issue · comments

Right now, we fetch models early, and cache them. Then after we're done with them, we delete the cached model, so as not to run into issues with persistent object cache plugins. (We really only want to cache for the duration of the request.) Maybe static properties are the cleaner solution.