Cloudflare Pages, फुल-स्टैक सपोर्ट
(blog.cloudflare.com)- Cloudflare Workers को Backend के रूप में इस्तेमाल करने के लिए विस्तार
→ पहले भी integration संभव था, लेकिन अब serverless functions को Pages project में साथ ही develop और deploy किया जा सकता है
→ ./functions फ़ोल्डर में hello.js रखने पर इसे /hello के रूप में कॉल किया जा सकता है
→ commit के समय Worker अपने-आप deploy होता है और URL mapping की जाती है
- Workers में इस्तेमाल होने वाले bindings वैसे ही उपलब्ध
→ KV namespace
→ Durable Object namespace
→ R2 (S3-compatible) सपोर्ट जल्द आने वाला है
→ environment variables
→ Secret सपोर्ट जल्द आने वाला है : encrypted environment variables
-
SvelteKit integration सपोर्ट
-
Server-Side Rendering का उपयोग संभव
-
पहले से विकसित Worker को ES module के रूप में बनाकर सीधे attach किया जा सकता है
1 टिप्पणियां
Cloudflare ने Cloudflare Pages पेश किया, जो कम समय में तेज़ साइट्स बनाने में मदद करता है https://hi.news.hada.io/topic?id=3418
CloudFlare R2 Object Storage पेश किया गया https://hi.news.hada.io/topic?id=5100
CloudFlare ने Durable Objects beta पेश किया https://hi.news.hada.io/topic?id=2930
CloudFlare ने Workers Unbound serverless beta शुरू किया https://hi.news.hada.io/topic?id=2543
CloudFlare ने Workers का cold start time 0 कैसे किया https://hi.news.hada.io/topic?id=2567
Cloudflare Workers ने Native Rust support शुरू किया https://hi.news.hada.io/topic?id=4986
Show GN: edge-yacht - Cloudflare Workers पर चलने वाला multiplayer game https://hi.news.hada.io/topic?id=5305