DEV Community

Discussion on: Awesome things for awesome people - August 2020

Collapse
 
robole profile image
Rob OLeary

Hi Jhey,

You may want to consider reducing the number of codepens included in the post. Having so many cripples the browser. Cool demos as always.

Collapse
 
jh3y profile image
Jhey Tompkins

Yeah, I've noticed this with the last two roundups ๐Ÿ‘Ž

A bit of a shame that this is the case. Thank you! ๐Ÿ™

Collapse
 
jh3y profile image
Jhey Tompkins

Looks like the webcam filter pen was the culprit! I've commented that one out for now ๐Ÿ‘

Thread Thread
 
robole profile image
Rob OLeary • Edited

๐Ÿ˜Ž๐Ÿ‘ The codepen script is async, so putting a decent number of pens in one post shouldnt grind it to a halt, but depending on what you do in a pen, you need to see if it plays nice in the aggregate I guess wrt resources. When I embed more than one codepen in an article, I just include the embed script once, on the first pen. The script is probably cached but it still requires a call each time. I don't know what Dev.to does behind the scenes. Something else to consider..