Wound around early Chinese pottery is evidence of humanity's long, long relationship with cannabis - grooves left by hemp cords, wrapped in the damp clay before the pot was fired, somewhere around 10, 000 years ago. And if hemp rope was known and manufactured ten thousand years ago, it's likely that cannabis' other uses were known as well, and had been known for some time. Astronomer Carl Sagan speculated that cannabis may have been mankind's first agricultural achievement, a gateway crop to harder crops, like wheat and barley… and hence to Civilization.
Hemp cloth is known to have been made in China by 4000 BCE and seeds are scattered all over the place in prehistory, buried with the dead, found in decorated containers, or otherwise holding a position of obvious honor and esteem. In many cases it's speculated that the seeds were once buds that have been consumed by time.
The earliest mention of what might be a cannabis concentrate or concoction is Bhang, in the Hindu sacred text Atharvaveda, which might be as much as 2000 years old. Today, Bhang is a prepared drink, although there's no way of telling for sure that this is what is being referred to in the sacred text (interesting to note that there is a tradition wherein the Hindu Deity Shiva grew cannabis from his own body - in any case, Shiva and cannabis are linked in legend to an intimate degree).
The earliest known reference to Hash doesn't come until late, around 1000 AD, when Arabic scholars discussed the appropriateness of ingesting it, a practice which was spreading across Arabia (so we can assume someone had figured out how to make it a long time previously). 100 to 300 years later, the legends surrounding the cult of Assassins arose, and the "origin story" of the name is born - linked forever with the name of Hasan bin al-Sabbah, the "Old Man of the Mountain", founder of an organized band of hit men who were told that surrendering their life would bring them a Paradisiacal Martyr's reward in the afterlife.
From then on, mentions of hashish are frequent and mainly centered in Persia and the Middle East, so one is tempted to assume that hash came into it's own at that time and place - although it's hard to believe that people hadn't figured out how to make the stuff long before then.
The next Great Leap Forward in the history of Charas or Hash doesn't come until the modern era, with legendary early explorations with bubble hash that might go all the way back to the sixties. Modern concentrates, however, don't appear until the middle of the first decade of the Twenty First Century. Now we have medicinal concentrates like Wax, Shatter and Whole Plant and Live Resin concentrates, made using a variety of technological!y advanced methods, some possessing a whopping 80% THC content or even higher.
Co-evolution can be a very good thing.