4 Tiny Mistakes That Secretly Destroy App Performance, by (not on Mastodon or Bluesky):
#performance #webapps #mistakes #cors #codesplitting #dependencies #backgrounds #images
4 Tiny Mistakes That Secretly Destroy App Performance, by (not on Mastodon or Bluesky):
#performance #webapps #mistakes #cors #codesplitting #dependencies #backgrounds #images
Open TCP Connections in the Browser
Puter.js๋ ๋ธ๋ผ์ฐ์ ์์ ์ง์ TCP ๋ฐ TLS ์์ผ ์ฐ๊ฒฐ์ ์ง์ํ๋ ์๋ฐ์คํฌ๋ฆฝํธ ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ก, ๋ณ๋์ ์๋ฒ๋ ํ๋ก์ ์์ด ๋คํธ์ํฌ ํต์ ์ ๊ตฌํํ ์ ์์ต๋๋ค. CORS ์ ํ์ ์ฐํํ๋ HTTP fetch ๊ธฐ๋ฅ๋ ์ ๊ณตํ์ฌ ์ธ๋ถ API ํธ์ถ ์ ๋ฐฑ์๋ ์์ ์ด ํ์ ์์ต๋๋ค. TLS ์ํธํ๋ฅผ ํด๋ผ์ด์ธํธ ์ธก์์ ์ฒ๋ฆฌํด ๋ณด์์ฑ์ ์ ์งํ๋ฉฐ, SSH ํด๋ผ์ด์ธํธ๋ ์ด๋ฉ์ผ ํด๋ผ์ด์ธํธ ๊ฐ์ ์ ์์ค ๋คํธ์ํฌ ์ ํ๋ฆฌ์ผ์ด์ ๊ฐ๋ฐ์ ์ ํฉํฉ๋๋ค. ์ฌ์ฉ์ ๋ถ๋ด ๋ชจ๋ธ๋ก ๋์ญํญ ๋น์ฉ์ ์ฌ์ฉ์์๊ฒ ์ ๊ฐํด ๊ฐ๋ฐ์๋ ์ธํ๋ผ ๋น์ฉ ๊ฑฑ์ ์์ด ์ฑ์ ๊ตฌ์ถํ ์ ์์ต๋๋ค.
Show HN: Corsproxy โ Fix CORS Errors Instantly โ Free for Development
Corsproxy๋ ๊ฐ๋ฐ์๊ฐ CORS(Cross-Origin Resource Sharing) ์ค๋ฅ๋ฅผ ์ฆ์ ํด๊ฒฐํ ์ ์๋๋ก ๋๋ ๋ฌด๋ฃ ํ๋ก์ ์๋น์ค์ ๋๋ค. ๋ณ๋์ ์ค์ ์์ด API ์์ฒญ URL ์์ ํ๋ก์ ์ฃผ์๋ฅผ ๋ถ์ด๊ธฐ๋ง ํ๋ฉด CORS ๋ฌธ์ ๋ฅผ ์ฐํํ ์ ์์ผ๋ฉฐ, 330๊ฐ ์ด์์ ์ฃ์ง ๋ก์ผ์ด์ ์ ํตํด ๋ฎ์ ์ง์ฐ ์๊ฐ๊ณผ 99.9% ๊ฐ๋ ์๊ฐ์ ๋ณด์ฅํฉ๋๋ค. ๊ฐ๋ฐ์ฉ์ ๋ฌด๋ฃ์ด๋ฉฐ, ํ๋ก๋์ ํ๊ฒฝ์ฉ ์ ๋ฃ ํ๋๋ ์ ๊ณต๋ฉ๋๋ค. ๋ค์ํ ํค๋ ์กฐ์, ์บ์ฑ, ๋ฐ์ดํฐ ๋ณํ ๊ธฐ๋ฅ๋ ์ง์ํด ๊ฐ๋ฐ ํธ์์ฑ์ ๋์์ต๋๋ค.
I was recently reminded that I wanted to try out Codeberg Pages, so I migrated a static site over from GitHub Pages. It mostly worked, and a learned a little along the way about how Codeberg Pages works.
Read more: https://danq.me/2026/05/04/github-to-codeberg-pages/
CORSใไธ็ทใซ็่งฃใใใ๏ผCross-Origin Resource Sharing๏ผ
https://qiita.com/NXD139/items/ec04f8d5c110a9927498?utm_campaign=popular_items&utm_medium=feed&utm_source=popular_items
1. ใฏใใใซ ใใญใณใใจใณใใ localhost:3000ใใใใฏใจใณใใ localhost:8080 ใงๅใใฆใใใขใใชใไฝใฃใฆใใใจใใพใใไธ่ฆๅ้กใชใใใใซ่ฆใใฆใใใณใณใฝใผใซใ้ใใจใใใชใจใฉใผใ่กจ็คบใใใใใจใใใใพใ๏ผ Access to fetch a...
I just renewed my vehicle registration/insurance. We have a provincial crown corporation here that has a monopoly on it.
I ran into a problem with their "new & improved!" website [1]. I always do. This one is boring; like 90% of the issues I run into, it's because the developers have only tested the site with Chrome, and they're violating CORS policy (a security thing) so Firefox prevents a request trying to fetch part of the page contents. Chrome doesn't give a damn, it doesn't want to stop any trackers or anything.
But the ๐งโ๐ณ ๐ in the whole thing is ... there are various "Feedback" links and buttons. I want to report the issue, so I try them, and ... they haven't actually provided the HREF attribute on the links/buttons at all. They are literally not hooked up to anything.
Good testing on the new site, boys! You sure you didn't miss testing any of the functionality?
[1] Why companies absolutely insist on regularly improving their websites into unusability escapes me. As I mentioned elsewhere, it's not like the HTML of the working site has a best-before date on it.
#CADT #WebDeveloper #Firefox #CORS #HREF #feedback #NewAndImproved #qwality #WeveHeardOfIt
๐ After a few years of refinement and close to 1 << 9 commits, I'm pleased to announce the v1 release of my CORS middleware library for Go.
Let me know whether it patches things up between you and CORS!
CORSใจใใชใใฉใคใใชใฏใจในใใซใคใใฆ
https://qiita.com/yakumo_09/items/66c8065e7caf1c5e9a16?utm_campaign=popular_items&utm_medium=feed&utm_source=popular_items
ใฏใใใซ CORS(Cross-Origin Resource Sharing)ใใใชใใฉใคใใชใฏใจในใใซใคใใฆใใใฃใใฎใงใใฎ่พบใใพใจใใฆใใใพใใ CORSใจใฏ ใชใชใธใณใจใฏ ใชใชใธใณใจใฏใไปฅไธใฎ3ใคใฎ็ตใฟๅใใใงใใ ่ฆ็ด ไพ ในใญใผใ ๏ผใใญใใณใซ...