Easy to install plastic piling caps are an excellent, inexpensive way to protect pilings from internal rot.
Caps are made from heavy weatherable polyethelyne with an estimated life in excess of 15 years for black, in excess of 9 years for white (actual lifespan of caps is not gauaranteed).