https://www.gowinglife.com/of-webs-and-weed-why-nasa-drugged-spiders-and-what-we-learnt/ said:
In 1995, NASA scientists published a study in which marijuana, benzedrine, caffeine or chloral hydrate (a sedative and hypnotic drug) were given to spiders, and the effects on their webs observed. [...] However, unlike previous studies, NASA was able to apply modern computing and statistical methods. They digitised the web structures, and found that the structure of the web correlated with the toxicity of the substance being tested. Specifically, the more toxic the substance, the fewer sides of each web ‘cell’ the spiders completed.
[...]
However, the spiders don’t lie – caffeine is at the very least quite a bit more toxic than marijuana