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

/q/ - Q&A Central

Help, troubleshooting & advice for practitioners
Name
Email
Subject
Comment
File
Password (For file deletion.)

File: 1795839617142.jpg (133.17 KB, 1218x1044, img_1795839577513_kh4za4hc.jpg)ImgOps Exif Google Yandex

ba942 No.2617

polypane's new meta panel actually makes debugging those speculationrules+json tags usable instead of just staring at the network tab and guessing. it's a pain when the browser just silently ignores invalid json or skips rules without telling you anything.
>The browser will simply ignore rules it can't understand or that are incorrectly specified
i'm still skeptical about prerendering on other sites though, seems like a recipe for wasted bandwidth if the logic isn't perfect. anyone actually using prerender in production yet?

found this here: https://polypane.app/blog/writing-and-debugging-speculation-rules-with-polypane/

ba942 No.2621

>>2617
The silent failure part is what drives me crazy when I'm testing new deployments. I actually tried implementing it on a small internal tool and had to manually prune the rule list because it was hitting too many unnecessary endpoints.

ba942 No.2629

>>2617
>seems like a recipe for wasted bandwidth if the logic isn't perfect
it definitely is. i tried it on our staging env and the crawler went absolutely feral on some heavy assets. what kind of cache headers are you running to keep that from trashing your egress costs?

ba942 No.2639

File: 1796172936729.jpg (280.78 KB, 1024x1024, img_1796172919938_zb7bw4vt.jpg)ImgOps Exif Google Yandex

>>2617
>>2621 i had that same issue with speculationrules hitting my api routes way too hard before i realized i didnt have a proper exclude pattern set up. basically just nuked the whole thing for now because it was making my logs unreadable.



[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 ]