mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 23:01:09 +02:00
Move inactive projects out of active workspace: - bauntown (community website) - maerchenzauber (AI story generation) - memoro (voice memo app) - news (news aggregation) - nutriphi (nutrition tracking) - reader (reading app) - uload (URL shortener) - wisekeep (AI wisdom extraction) Update CLAUDE.md documentation: - Add presi to active projects - Document archived projects section - Update workspace configuration Archived apps can be re-activated by moving back to apps/ 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
46 lines
No EOL
1.5 KiB
Bash
Executable file
46 lines
No EOL
1.5 KiB
Bash
Executable file
#!/bin/bash
|
|
|
|
echo "🔍 Checking Redis Cache in Production"
|
|
echo "======================================"
|
|
echo ""
|
|
|
|
# Your production domain
|
|
DOMAIN="https://ulo.ad"
|
|
|
|
# Test link (create one if needed)
|
|
TEST_CODE="test-redis-$(date +%s)"
|
|
TEST_URL="https://example.com/redis-test"
|
|
|
|
echo "1. Creating a test link via API..."
|
|
# You would need to create a test link first via your admin panel or API
|
|
|
|
echo ""
|
|
echo "2. Testing redirect performance..."
|
|
echo ""
|
|
|
|
# First request (should be cache MISS)
|
|
echo "First request (expected: CACHE MISS):"
|
|
time curl -I -s -o /dev/null -w "HTTP Status: %{http_code}\nTime: %{time_total}s\nRedirect: %{redirect_url}\n" "$DOMAIN/$TEST_CODE"
|
|
|
|
echo ""
|
|
echo "Waiting 1 second..."
|
|
sleep 1
|
|
|
|
# Second request (should be cache HIT)
|
|
echo ""
|
|
echo "Second request (expected: CACHE HIT):"
|
|
time curl -I -s -o /dev/null -w "HTTP Status: %{http_code}\nTime: %{time_total}s\nRedirect: %{redirect_url}\n" "$DOMAIN/$TEST_CODE"
|
|
|
|
echo ""
|
|
echo "Third request (should be cache HIT):"
|
|
time curl -I -s -o /dev/null -w "HTTP Status: %{http_code}\nTime: %{time_total}s\nRedirect: %{redirect_url}\n" "$DOMAIN/$TEST_CODE"
|
|
|
|
echo ""
|
|
echo "======================================"
|
|
echo "✅ If the 2nd and 3rd requests are faster, cache is working!"
|
|
echo ""
|
|
echo "Tips for verification:"
|
|
echo "- Check your server logs for 'Cache HIT!' messages"
|
|
echo "- First visit should show 'Cache MISS'"
|
|
echo "- Subsequent visits should show 'Cache HIT!'"
|
|
echo "- Cache TTL: 5 min (normal) or 24h (popular links)" |