Tag: Ajax

Using Cookies in WordPress, Part II: Cache-Busting with Ajax

Caching makes everything harder. If you’re writing good code and then you—and your clients, coworkers, etc.—are seeing absolutely no result, the issue is typically caching. In fact, a lovingly cited quote by Phil Karlton holds that “There are only two hard things in Computer Science: cache invalidation and naming things.”

A Crash Course in AJAX for WordPress

Fred and I were just talking the other day about how initially-confusing the way you do Ajax requests in WordPress was to us. Both of us, completely independently, encountered a plugin we were trying to understand, knew was using Ajax, and couldn’t for the life of us tell how. It’s just not obvious when you’re new to all the concepts involved.