Although it was published in July 2004, I just found a whitepaper by Arun Marathe on Batch Compilation, Recompilation, and Plan Caching Issues in SQL Server 2005.
This is a very well-written paper on how plan caching works, and most of the content applies to both SQL Server 2000 and 2005. I highly recommend that anyone interested in performance issues read this paper.