PacketLens
PacketLens is a pure front-end, offline pcap analysis tool that runs entirely in the browser, supporting deep protocol decoding, HTTPS decryption, and million-packet instant loading without any backend.
它通过实现新的 QUERY 方法并与 GET 和 POST 进行并列比较,解决了 API 设计中的长期痛点——让过滤/搜索端点既支持丰富表达(JSON 主体)又可缓存(类似 GET)。
Demo en Express del mismo endpoint servido con GET, POST y el nuevo método
QUERY, para ver de un vistazo qué aporta y por qué importa la caché.
QUERY acaba de pasar a Proposed Standard. La idea en una frase:
QUERY= la seguridad y la cacheabilidad deGET+ la capacidad de mandar un body dePOST.
Enlaces:
Imagina un buscador de productos con filtros: categorías, rango de precio, rating, orden…
GET con query stringGET /api/products/search?categories=laptop,phone&priceMin=800&priceMax=1500&minRating=4.5&sortBy=price&sortOrder=desc
No hay un límite único universal.
A nivel de estándar HTTP, no se define una longitud máxima estricta para una URI. Lo que sí recomienda RFC 9110 es que clientes y servidores soporten al menos 8000 octetos en URIs dentro de elementos del protocolo.
En la práctica:
| Contexto | Límite recomendable |
|---|---|
| Máxima compatibilidad | ≤ 2.000 caracteres |
| Apps modernas controladas | ≤ 8.000 bytes aprox. |
| Sitemap SEO | ≤ 2.048 caracteres por URL |
| Apache por defecto | 8190 bytes en la request line |
| Nginx por defecto | alrededor de 8K para la request line, según buffer |
Mi recomendación práctica:
Mismo endpoint con GET, POST y el nuevo método HTTP QUERY (RFC 10008) en Express
根据分类、Topic 和编程语言匹配的相似项目。
PacketLens is a pure front-end, offline pcap analysis tool that runs entirely in the browser, supporting deep protocol decoding, HTTPS decryption, and million-packet instant loading without any backend.
An interactive learning system that turns the 47-page Kimi K3 technical report into a single offline HTML file with running algorithms, 3D visualizations, spaced repetition quizzes, and a smart highlighting QA tool.
An interactive 3D visualization of three human cell types using Three.js, WebGL particles, and custom GLSL shaders, allowing users to rotate, zoom, morph, and explore annotated structures.