[ Home / About / Contact / WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]

/tech/ - Technical SEO

Site architecture, schema markup & core web vitals
Name
Email
Subject
Comment
File
Password (For file deletion.)

File: 1792710219623.jpg (158.62 KB, 1024x1024, img_1792710211839_s3uhd79b.jpg)ImgOps Exif Google Yandex

9ad69 No.2375

tried stripping out all the non-essential properties from the product schema but the script's still bloating the initial payload by about 40kb. it's making the lcp jump because the parser is choking on the massive string of nested object data.
{"@context": "https://schema.org","@type": "Product","additionalProperty": [ ... ]}

anyone found a way to prune these dynamically without breaking the rich result validation?

9ad69 No.2387

File: 1792918333747.jpg (302.64 KB, 1024x1024, img_1792918317498_1vslpx0y.jpg)ImgOps Exif Google Yandex

>>2375
>the parser is choking on the massive string of nested object data

did this exact same thing with a client's huge catalog last month and had to just hard-delete the entire additionalproperty array because it was killing our mobile scores. tbh i just moved that extra metadata into a separate fetch call so the initial html stays light.



[Return] [Go to top] Catalog [Post a Reply]
Delete Post [ ]
[ Home / About / Contact / WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]