Closed bph closed 3 weeks ago
I have started my draft here. It's not ready for review yet but I wanted to get it added here for reference
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.
I'm working on the first review.
Great job, @ryanwelcher! I'm finished with the first review.
@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
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.
Second draft is complete and ready for second review - https://docs.google.com/document/d/1Qju0NTZGVc5ESqrZi_h39PPu4dCLvIiwy3vGuRTVNyg/edit
@ryanwelcher - Here are the checklists before and after publishing:
Public preview is available here. Planning on publishing tomorrow morning.
Social Copy:
The Transient API is a powerful tool for WordPress developers looking to speed up their sites. Explore how to use them here:
https://developer.wordpress.org/news/2024/06/11/an-introduction-to-the-transients-api/
The article has been published - https://developer.wordpress.org/news/2024/06/11/an-introduction-to-the-transients-api/
Love the article!
Very minor; there are a couple of indentation issues in the code samples.
Thank @StevenDufresne!
I've fixed that, the formatting was a little odd from as I had it in a Google doc. Moving foward, I'll paste it into an IDE then to the article
Discussed in https://github.com/WordPress/developer-blog-content/discussions/29