Back to blog
Blog

500x Faster API Performance, Deployment Access Logs, and Community Profiles

Cosmic's avatar

Cosmic

October 23, 2025

cover image

API - Performance & Reliability

Infrastructure Optimization

Production Performance Improvements (100-500x faster queries): We've rolled out significant performance enhancements to our API v3 infrastructure. These improvements deliver dramatically faster response times and better reliability during high-traffic periods.

What you'll notice:

  • Faster API responses - Most requests now complete in under 200ms (previously 2-5 seconds)
  • Better concurrent request handling - API can handle more simultaneous requests without slowdowns
  • More reliable service - Enhanced throttling protects against traffic spikes

Technical improvements:

  • Added database optimizations for faster queries
  • Expanded connection pool capacity (3x increase)
  • Implemented API throttling (200 burst, 100 req/sec)

Impact: 95-98% improvement in API response times across all endpoints.

See the API requests limits section in the Cosmic docs.

Dashboard

Dashboard Performance Optimizations

2-3x Faster Page Loads: We've optimized the dashboard application for significantly improved performance and responsiveness. These enhancements provide a smoother, more efficient experience across all dashboard features.

What you'll notice:

  • Faster page loads - Dashboard pages now load 2-3x faster
  • More responsive UI - Instant feedback on clicks and interactions
  • Smoother navigation - Reduced lag when switching between sections
  • Improved data rendering - Faster content lists and object displays

Impact: Overall dashboard experience is noticeably faster and more fluid, reducing friction in your daily content management workflows.

Deployment Access Logs

View HTTP access logs (runtime logs) for your deployments directly in the dashboard. Monitor traffic, track request patterns, and debug production issues with detailed logging including:

  • Request method, path, status, and duration
  • Client IP and user agent information
  • Deployment metadata and region information
  • Project-level aggregated logs across multiple deployments

Access logs support pagination, filtering by timestamp, methods, and live mode for real-time request monitoring.

AI Repository Updates - Quick-Add Feature Prompts

Speed up development with the new feature prompts dropdown in the AI chat interface. Click the light bulb icon (💡) in the chat input field to access ready-to-use prompts for common features:

Some Available Feature Prompts:

  • Contact Form - Email integration powered by Resend with user information capture
  • Ecommerce - Complete shopping cart, Stripe checkout, and order management
  • Cosmic AI - Integrate AI-powered features with automatic documentation links
  • Authentication - User login/signup system with protected routes and profiles

Simply click a feature prompt to instantly add it to your chat input—the AI will then generate production-ready code including:

  • Complete file implementations with proper structure
  • All required dependencies in package.json
  • Environment configurations
  • Cosmic content models (when needed)
  • Integration with your existing codebase

The feature prompts appear in both build-app mode and repository update mode, making it easy to scaffold complex features with a single click.

Website

Community Member Profiles

Developers can now create public profiles showcasing their work and contributions. Profile features include:

  • Username and bio
  • Website, company, and location
  • Social links (GitHub, Twitter/X, LinkedIn)
  • Public profile pages at

Profiles are fully editable in the dashboard account settings under the "Profile" tab. View your live profile with the "View profile" button. View community member profile pages.

Repository Starring

Show appreciation for community repositories with the new star/like system:

  • One-click starring
  • Real-time star counts on repository cards
  • Track starred repositories and popular community projects

Cosmic SDK (JavaScript)

Install the latest version of the Cosmic JavaScript SDK (v1.5.6) which includes updates to the media upload method.

Media Upload Fixes

Fixed critical media upload issues in Node.js and Next.js environments:

Problem Solved:

  • Fixed error when uploading files
  • Resolved incompatibility between Node.js streams and browser File objects

Implementation:

  • Environment-aware FormData handling (auto-detects Node.js vs browser)
  • Proper Buffer handling in Node.js with Content-Length headers
  • Native FormData support for browser environments
  • Full Next.js App Router and Pages Router compatibility

Usage:


Get more information about uploading media in the Cosmic docs.

Next Steps

Learn More

Get Started