Toolverse
All skills

epic-caching

by epicweb-dev

Guide on caching with cachified, SQLite cache, and LRU cache for Epic Stack

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Category
Backend
Views
6

About this skill

Guide on caching with cachified, SQLite cache, and LRU cache for Epic Stack

How to use

  1. Oceń, czy cache jest potrzebny — dodaj go tylko wtedy, gdy masz rzeczywisty problem wydajności. Unikaj cachowania danych, które zmieniają się często, są już szybkie do pobrania lub pobierane zaledwie raz. 2. Użyj cachified do cachowania kosztownych operacji, takich jak zewnętrzne wywołania API — funkcja automatycznie zarządza kluczami cache'u, czasem życia (TTL) i walidacją danych. 3. Zdefiniuj getFreshValue jako asynchroniczną funkcję pobierającą świeże dane, na przykład zapytanie do API GitHub lub bazy danych. 4. Ustaw odpowiedni TTL (time-to-live) dla Twoich danych — dla danych zewnętrznych godzina jest rozsądnym punktem wyjścia, dla szybko zmieniających się danych skróć czas. 5. Skonfiguruj checkValue ze schematem walidacji, aby upewnić się, że dane w cache'u są poprawne i bezpieczne. 6. Monitoruj wpływ cache'u na wydajność — dodaj timing do serwera, aby zmierzyć rzeczywistą poprawę, i usuwaj cache, jeśli logika unieważniania staje się bardziej skomplikowana niż problem, który rozwiązuje.

Related skills

fastapi-pro

by sickn33

Build high-performance async APIs with FastAPI, SQLAlchemy 2.0, and Pydantic V2. Master microservices, WebSockets, and modern Python async patterns. Use PROACTIVELY for FastAPI development, async optimization, or API architecture.

Backend
54128

api-design-principles

by wshobson

Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers. Use when designing new APIs, reviewing API specifications, or establishing API design standards.

Backend
50146

travel-planner

by ailabs-393

This skill should be used whenever users need help planning trips, creating travel itineraries, managing travel budgets, or seeking destination advice. On first use, collects comprehensive travel preferences including budget level, travel style, interests, and dietary

Backend
4379

youtube-transcript

by michalparkola

Download YouTube video transcripts when user provides a YouTube URL or asks to download/get/fetch a transcript from YouTube. Also use when user wants to transcribe or get captions/subtitles from a YouTube video.

Backend
53214

patent-search

by RobThePCGuy

Advanced prior art search using the PatentsView API. Use this skill when users need to search for patents, perform prior art searches, analyze patent landscapes, or find patents by inventor, title, date range, or technical fields. Helps with patent research, freedom to operate

Backend
36218

humanizer

by davila7

Remove signs of AI-generated writing from text. Use when editing or reviewing\ntext to make it sound more natural and human-written. Based on Wikipedia's\ncomprehensive \

Backend
2873