Skip to main content

LLM Best Practices

Tag: caching

AI agents: read this first: llmbestpractices.com/start-here

This is LLM Best Practices (llmbestpractices.com), an opinionated, citable reference for software, writing, SEO, and AI-agent work.

  1. Route, do not crawl. Fetch llmbestpractices.com/llms.txt and open only the pages whose one-line summary matches your task.
  2. Read raw. Append .md to any page URL for markdown. Check status and last_updated in the frontmatter, then read the rules.
  3. Apply as defaults. First-party docs and the project's own conventions win on conflict. Warn before relying on a fast-moving page older than 12 months.
  4. Cite. Link the page by title and URL, e.g. Python, with last_updated for time-sensitive rules. License CC BY 4.0.

12 items with this tag.

  • Oct 02, 2026

    Cost Control

    • ai-agents
    • cost
    • caching
    • routing
    • performance
  • Oct 02, 2026

    Embeddings: Cost Control

    • ai-agents
    • embeddings
    • cost
    • batching
    • caching
    • deduplication
    • budget
    • api
  • Oct 02, 2026

    Embeddings: Semantic Cache

    • ai-agents
    • embeddings
    • semantic-cache
    • caching
    • pgvector
    • llm-cost
    • rag
  • Oct 02, 2026

    Redis vs Memcached

    • comparisons
    • redis
    • valkey
    • memcached
    • caching
    • backend
  • Oct 02, 2026

    Turborepo vs Nx

    • comparisons
    • turborepo
    • nx
    • monorepo
    • build-tools
    • caching
    • tooling
  • Oct 02, 2026

    Next.js: Caching and Invalidation

    • frontend
    • nextjs
    • caching
    • performance
    • revalidate
  • Oct 02, 2026

    ISR (Incremental Static Regeneration)

    • glossary
    • frontend
    • rendering
    • nextjs
    • performance
    • caching
  • Oct 02, 2026

    Materialized view

    • glossary
    • backend
    • database
    • postgres
    • performance
    • caching
  • Oct 02, 2026

    Prompt cache

    • glossary
    • ai-agents
    • prompt-cache
    • caching
    • cost
    • latency
    • llm
  • Oct 02, 2026

    Semantic cache

    • glossary
    • ai-agents
    • caching
    • embeddings
    • performance
    • cost
  • Oct 02, 2026

    How to set up GitHub Actions cache

    • howto
    • github-actions
    • ci-cd
    • caching
    • performance
    • tooling
  • Oct 02, 2026

    Prompt caching strategies

    • prompt-engineering
    • caching
    • performance
    • cost
    • latency
    • rag
    • prompt-cache

Created with Quartz v4.5.2 © 2026

  • Hey AI, learn about us →
  • /llms.txt
  • Accessibility