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

How to live-dynamic content in content-sections #4

Open
Lewiscowles1986 opened this issue Mar 2, 2017 · 0 comments
Open

How to live-dynamic content in content-sections #4

Lewiscowles1986 opened this issue Mar 2, 2017 · 0 comments
Labels

Comments

@Lewiscowles1986
Copy link
Contributor

Because we tell the plugin to cache forever, live-dynamic content must be served over AJAX or similar mechanism.

pros

  • site speed shouldn't degrade due to content-sections

cons

  • may lead to user surprise for site-admins (each time the CPT is saved it regenerates it's transient)

Perhaps add a filter so the ttl on transients can be modified by meta value? Even 1 second transient could save a lot of processing for complex content-sections.

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

No branches or pull requests

1 participant