Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
janbjorge authored Feb 27, 2024
1 parent 614e0b5 commit 827b8d4
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
[![downloads](https://static.pepy.tech/badge/PGCacheWatch/month)](https://pepy.tech/project/PGCacheWatch)
[![versions](https://img.shields.io/pypi/pyversions/PGCacheWatch.svg)](https://github.com/janbjorge/PGCacheWatch)

---
**Documentation**: <a href="https://pgcachewatch.readthedocs.io/en/latest/" target="_blank">https://pgcachewatch.readthedocs.io/en/latest/</a>

**Source Code**: <a href="https://github.com/janbjorge/PGCacheWatch/" target="_blank">https://github.com/janbjorge/PGCacheWatch/</a>
---

PGCacheWatch is a Python library that enhances applications with real-time PostgreSQL event notifications, enabling efficient cache invalidation. It leverages the existing PostgreSQL infrastructure to simplify cache management while ensuring performance and data consistency.

## Example with FastAPI
Expand Down Expand Up @@ -66,4 +72,4 @@ async def get_data(user_id: int) -> dict:
"""
# Fetch and return the data using the cached query function.
return await cached_query(user_id)
```
```

0 comments on commit 827b8d4

Please sign in to comment.