Aug 12 2011
The Otto and Nacin Show
Link to slides of presentation
13.17
Otto and Nacin work for Audrey Capital #wcsf
13.18
Transients an option with an expire time. Temporary data that can expire at will #wcsf
13.18
Plugin Simple Facebook Connect #wcsf
13.19
Transients store this data until I update it otherwise. Object cache, WordPress uses the options table #wcsf
13.21
Object caching and transients work in the same way. #wcsf
13.22
Object caching is not ideal if you need both data persistence and code Portability #wcsf Then use transients
13.27
Multisite have both concepts network wide transients #wcsf
Global Cache Groups: are a way to use the cache api globally across all sites
Need to tell wordpress when not blog specific
All these things work well on Single-site which they keep pointing out throughout the presentation.
switch_to_blog()
don’t use this
or know what you are doing
13.47
Q & A @otto42 @nacin #wcsf
Can you have a global nav menu? Answer is yes – I can’t give you the details here I am not that techy.
Transients are more meant for data that takes a long time to generate-transients are stored in database
Object cache meant more for objects such as posts – stored in fast memory
If your on a server that has an external object cache then it doesn’t matter which one you use.
My take away from this, I need to learn more about cacheing.
What is your favorite WordPress function? #1 Get transient. #2 Media site load image, press this uses this
WordPress Core: How do you get it to work so well to work with all plugins? It is Voo Doo. It works on hooks. 3.0 they made a huge improvement. 3.2 they made it faster add action add filter
Twitter handles: @otto42 @nacin
What is the worst part of the WP codebase: Admin Menu’s – everyone is clapping. Internal admin menu stuff is a mess.
Absolute URL’s: this is the way to go. It is more portable to use absolute url. Your content isn’t always displayed on your website. They always work.