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

When to use Transients API and how #213

Open
bph opened this issue Feb 1, 2024 Discussed in #29 · 6 comments
Open

When to use Transients API and how #213

bph opened this issue Feb 1, 2024 Discussed in #29 · 6 comments
Assignees
Labels

Comments

@bph
Copy link
Collaborator

bph commented Feb 1, 2024

Discussed in #29

Originally posted by bph December 4, 2022
Thank you @milana for suggesting this topic.
When you have a minute, maybe you can elaborate a bit on what this blog could cover.

@ryanwelcher
Copy link

I have started my draft here. It's not ready for review yet but I wanted to get it added here for reference

@ryanwelcher
Copy link

Draft is ready for first review - https://docs.google.com/document/d/1Qju0NTZGVc5ESqrZi_h39PPu4dCLvIiwy3vGuRTVNyg/edit#heading=h.7mmnqqs4uize

@zzap I'd love your input on this. Especially any good use-cases that can be added.

@justintadlock
Copy link

I'm working on the first review.

@justintadlock
Copy link

Great job, @ryanwelcher! I'm finished with the first review.

@zzap
Copy link
Member

zzap commented Jun 3, 2024

@ryanwelcher thank you so much for working on this article. Great job and very informative.

@zzap I'd love your input on this. Especially any good use-cases that can be added.

I think you have great examples. Another good one could be saving third-party API response.

Another thing I would add, because I hear many developers mixing these two, is the main difference between caching and transients: storage (object, page, browser vs database and memory if caching is enabled), persistence etc

@ryanwelcher
Copy link

Another good one could be saving third-party API response.

Fantastic example, I'll get that added.

Another thing I would add, because I hear many developers mixing these two, is the main difference between caching and transients: storage (object, page, browser vs database and memory if caching is enabled), persistence etc

Great callout. I need to update the intro and this might be a good fit there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done w/ 1st Review
Development

No branches or pull requests

4 participants