Caerphilly is a town located in South Wales, United Kingdom, about 7 miles north of Cardiff. The town is best known for its medieval castle, Caerphilly Castle, which is one of the largest castles in the country. The castle was built in the late 13th century and has a distinctive leaning tower that rivals the tower of Pisa. Caerphilly is also known for its cheese, Caerphilly cheese, which has been made in the area for centuries. The town has a mix of historical and modern architecture and is home to a range of shops, restaurants, and pubs.