2.3.0 • Published 6 months ago

payload-dependency-graph v2.3.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

Payload Dependency Graph Plugin

npm version Test Downloads

This plugin creates a dependency graph between collections and globals. The graph updates automatically, because the plugin observes the changes made on any collection or globals.

Use Cases

The plugin is useful when it comes to cached content or relationship-based changes.

  • You're caching a static page that uses nested relationship fields. If the page has fields with blocks, and these blocks are recursive and have their own relationship fields, it can be difficult to know which cache needs to be purged. For this situation, the plugin is perfect for knowing which resource is dependent on whom.
  • You're caching the API responses that contain a depth greater than 0. You can purge that cache for that specific resource when its dependencies change.

Documentation and API

2.3.0

6 months ago

1.3.0

6 months ago

2.2.0

6 months ago

1.2.0

6 months ago

2.1.1

6 months ago

2.0.2

6 months ago

1.1.2

6 months ago

1.0.3

6 months ago

2.1.0

6 months ago

1.1.1

7 months ago

2.0.1

7 months ago

2.0.0

7 months ago

1.1.0

7 months ago

1.0.2

7 months ago

1.0.1

7 months ago

1.0.0

7 months ago