Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache available post types on each sub site in admin #18

Closed
AaronHolbrook opened this issue Jun 27, 2014 · 2 comments
Closed

Cache available post types on each sub site in admin #18

AaronHolbrook opened this issue Jun 27, 2014 · 2 comments

Comments

@AaronHolbrook
Copy link
Contributor

Having to query each site every time causes a noticeably slow user experience on the admin page. Would be good to cache this in settings and inject/remove post types once the query has been performed (possibly also cache this for a small period of time and invalidate on permalink/rewrite flush).

@AaronHolbrook AaronHolbrook added this to the Version 1.0 milestone Jun 27, 2014
@AaronHolbrook AaronHolbrook self-assigned this Jun 27, 2014
@tlovett1
Copy link
Member

This could be useful to cache if you made sure your invalidation strategy was flawless. Having someone choose a post type that is not available could be dangerous. I don't imagine people will really be touching the settings page very often so I think this is pretty minor.

@tlovett1 tlovett1 removed this from the Version 1.0 milestone Jul 8, 2014
@tlovett1
Copy link
Member

tlovett1 commented Jul 8, 2014

Punting. This is useful but not required for V1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants