NJ Municipality Lookup
CodebaseSrcAppApi

Test Cache

Placeholder directory for cache testing and inspection API endpoints.

Test Cache API (app/api/test-cache/)

Placeholder directory for cache testing and inspection API endpoints.

Purpose

Reserved for development/testing API routes that:

  1. Inspect cache contents and statistics
  2. Manually clear or populate cache
  3. Test cache eviction strategies
  4. Debug cache-related issues

Status

Currently empty - routes will be added as testing needs arise.

Planned Endpoints

Potential testing endpoints:

  • GET /api/test-cache/stats - Detailed cache statistics
  • GET /api/test-cache/entries - List all cache entries
  • POST /api/test-cache/clear - Clear all cached data
  • POST /api/test-cache/populate - Pre-populate cache with test data
  • DELETE /api/test-cache/:key - Delete specific cache entry

On this page