Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/wp-graphql/wp-graphql-smart-cache

Smart Caching & Cache Invalidation for WPGraphQL
https://github.com/wp-graphql/wp-graphql-smart-cache

- Wrap the autoload require in a file_exist check. Installing from Composer will put the autoload file elsewhere.

- Add a check for the Document class in `can_load_plugin` to ensure the autoloaded classes exist ...

6106e3b73115fe352281d6aed5fca9553bbbb0be authored about 2 years ago by Jason Bahl <[email protected]>
- add filter `graphql_cache_is_object_cache_inabled` to allow dynamically enabling/disabling the object cache.

- composer run fix-cs

b9ca52b657962214e581ae2c891adfa2e3a76ebf authored about 2 years ago by Jason Bahl <[email protected]>
- update matrix, again...

c5a6dbb331c87672f39702a5a908a72f3ca1eb8e authored about 2 years ago by Jason Bahl <[email protected]>
- update matrix (again)

- update "Requires at least" to 5.6

79b81c3c27267abf7f74e341bf5fc3d52ca29a12 authored about 2 years ago by Jason Bahl <[email protected]>
- update matrix, again...

06c0e6ca266d8c5ec31f7113dfdee79e1febe1b2 authored about 2 years ago by Jason Bahl <[email protected]>
- update matrix

58fe8ebe6f4fe160afbed3fb53f08b4978d3b2c4 authored about 2 years ago by Jason Bahl <[email protected]>
- update tests to use same matrix as https://github.com/wp-graphql/wp-graphql/blob/develop/.github/workflows/deploy-docker-image.yml

2013e1b759f0fe0cf06b664ed1552dd09cfcadb7 authored about 2 years ago by Jason Bahl <[email protected]>
- update matrix

18f3e4e1c3dd51c5664301b65ade8c9a875faff9 authored about 2 years ago by Jason Bahl <[email protected]>
- update matrix

86a37f5a39e32ea1fc285dd7eaf21ea57df15301 authored about 2 years ago by Jason Bahl <[email protected]>
- update matrix

c6f26fca86fece0cb86f6757c8cb332179453fef authored about 2 years ago by Jason Bahl <[email protected]>
- update to ignore filter name

4cac5d333605d009a150e2feef9a0c878f3c99ae authored about 2 years ago by Jason Bahl <[email protected]>
- update test matrix

06ca7fecec2e9350646ac054602b56fc84004cfc authored about 2 years ago by Jason Bahl <[email protected]>
Merge commit '3f98db4d9366c8dee9a702b74ed4fe16b8695fe9'

e35e1d3fc90510e7953ed3661ebfe795bd610933 authored about 2 years ago by Jason Bahl <[email protected]>
- update test matrix

06898a0021da6cf53277fc661504e166f7b664e8 authored about 2 years ago by Jason Bahl <[email protected]>
Update README.md

3f98db4d9366c8dee9a702b74ed4fe16b8695fe9 authored about 2 years ago by Jason Bahl <[email protected]>
- update changelog

- update version number in main plugin file

9d2109125a17987c8f6f99bbc784eb11fd26e623 authored about 2 years ago by Jason Bahl <[email protected]>
- update changelog, stable tag

a78db467c159dcdaee0f0d3d8cec5a8ff6a49e78 authored about 2 years ago by Jason Bahl <[email protected]>
- update readme.txt

- added icon and banner

4a3838e62266e9492b221e6d28b07a5e88ca1cc7 authored about 2 years ago by Jason Bahl <[email protected]>
- composer run fix-cs

ed1acb2e66b29711205049b1be36639deaa6038d authored about 2 years ago by Jason Bahl <[email protected]>
- update to docs

b8351b68ab62258d235130a97272eb369d33ef0e authored about 2 years ago by Jason Bahl <[email protected]>
Update cache-invalidation.md

8e4d73bd0408245bb506c7f082d1d722b51a830b authored about 2 years ago by Jason Bahl <[email protected]>
Update network-cache.md

b675742919961355417633e2a810248a4378ba24 authored about 2 years ago by Jason Bahl <[email protected]>
Update network-cache.md

318c9dd056c598325f693ba336de34778778528b authored about 2 years ago by Jason Bahl <[email protected]>
Update network-cache.md

2162c99bfae526c88e7c8c6ffb9a312f819a942a authored about 2 years ago by Jason Bahl <[email protected]>
- update logo

332fd117ea7cfcd022be8c84987d6f94654f7a48 authored about 2 years ago by Jason Bahl <[email protected]>
- add logo

24df3ac7c6aef41008eef55e930a2fc70afd507f authored about 2 years ago by Jason Bahl <[email protected]>
- v0.3.0

3b835bddca1c530a348e38486f564ec0de20b531 authored about 2 years ago by Jason Bahl <[email protected]>
- add appsero integration

- update privacy policy in README
- update to network cache doc

603abb34fcda4cbbcd4e106d83448c9e7687e986 authored about 2 years ago by Jason Bahl <[email protected]>
- update license in composer.json

- update main README.md
- add individual docs for Cache Invalidation, Extensiond, FAQ, etc

48b56543b67155db9d4ad6b6347e35fa8ba0c3ec authored about 2 years ago by Jason Bahl <[email protected]>
no message

f9543bbbf46ce0ec2f687767a9698fd9cd9ba191 authored about 2 years ago by Jason Bahl <[email protected]>
- updating Docs (still WIP)

ccdc675f312134b65823df31c1c40ef43db69a1a authored about 2 years ago by Jason Bahl <[email protected]>
no message

3dd6d2311c8193e9d0ed8afc522f6007efc2fd2d authored about 2 years ago by Jason Bahl <[email protected]>
- updating docs

46cb8faa40daa044468314c32dc68dd6a74f7518 authored about 2 years ago by Jason Bahl <[email protected]>
- add action when the Invalidation class is instantiated. This can allow 3rd party code to call the `$invalidation->purge()` method in response to custom events

71f6598644512d9f74f2821214bb616c88d4ee03 authored about 2 years ago by Jason Bahl <[email protected]>
- update stable tag

608986abdc4c250f36386de8a2b5948f6003af47 authored about 2 years ago by Jason Bahl <[email protected]>
- update version/changelog for release

3531eb08785b689a79f9f89089442dd31416ccdd authored about 2 years ago by Jason Bahl <[email protected]>
Merge pull request #173 from wp-graphql/bug/add-header-support-for-when-queryId-is-used

Better queryId support for query analyzer

51d854f67ead46b8a341f1ecf6c73234d8523de3 authored about 2 years ago by Jason Bahl <[email protected]>
- unnecessary set of $queryId

90537c19ee951fe5f285f0a22316e6565a1758a4 authored about 2 years ago by Jason Bahl <[email protected]>
- run phpcs

fb9c41b478a68309fe1b0fec56caa7ce4074ae82 authored about 2 years ago by Jason Bahl <[email protected]>
- if the query is empty but a queryId is provided, get the query from the Id and set it in the params, then unset the queryId

4b0323ff2a594164a303e65670f011654ce1cf97 authored about 2 years ago by Jason Bahl <[email protected]>
Merge commit '473811e5c98cb8bec0bd9265eda3a8216627179c'

# Conflicts:
# readme.txt
# wp-graphql-smart-cache.php

9df0a182bd6f96cf5241d8177936a34bdedb20fe authored about 2 years ago by Jason Bahl <[email protected]>
- fix patch for wpengine users

1fa3f578fa8b18d9ed4a33d78951ca67401aa39a authored about 2 years ago by Jason Bahl <[email protected]>
Merge pull request #172 from wp-graphql/release/0.2.1

v0.2.1

473811e5c98cb8bec0bd9265eda3a8216627179c authored about 2 years ago by Jason Bahl <[email protected]>
v0.2.1

- add temporary patch for wp-engine users. will be removed when the wp engine mu-plugin is updated.

0630a5eb1f7ca7efee82b972d35688182623a833 authored about 2 years ago by Jason Bahl <[email protected]>
- add temp patch for wpe mu plugin

ce34234f86acc5b8ab1b2e792d2fdd7525f1e35b authored about 2 years ago by Jason Bahl <[email protected]>
Merge pull request #171 from wp-graphql/release/v0.2.0

v0.2.0

728e0572fe45edaf5489102e23222a84a8b87d49 authored about 2 years ago by Jason Bahl <[email protected]>
- update readme/versions/changelog

c44f0e71a82a6e1e55067e6ae01a0acc6937ee5f authored about 2 years ago by Jason Bahl <[email protected]>
Merge pull request #170 from wp-graphql/feature/move-cache-key-generation-to-wpgraphql-core

feat: rely on WPGraphQL Core's functionality for outputting X-GraphQL-Key headers

40fc83a3ac7c9992d9a6d0604a591f85ed272823 authored about 2 years ago by Jason Bahl <[email protected]>
- phpcs:ignore

dc3ad1bfc3f3869630d6ca9fe8775a952d693401 authored about 2 years ago by Jason Bahl <[email protected]>
- fix-cs

9061929999fbadf1992b8ff098c36245ed2662ca authored about 2 years ago by Jason Bahl <[email protected]>
- update plugin header docbloc

- rename WPGRAPHQL_LABS_PLUGIN_DIR

d060013370fe05de7513dc7e0febf2b85bb33a56 authored about 2 years ago by Jason Bahl <[email protected]>
- add conditional check to ensure Relay::toGlobald method exists before using it

- remove unused call to Relay::toGlobalId on line 430

33c8c94ab9a9ac8e1f5e2f873de3bc248341e427 authored about 2 years ago by Jason Bahl <[email protected]>
- remove logic that limited object caching to POST requests (since object caches are invalidated better, they should be in sync with varnish now)

f730764fb5f6e2e4014c10f2c742f2dc3bd55eaf authored about 2 years ago by Jason Bahl <[email protected]>
- ignore action prefix name

8e8b7884d21819ccc88aa9c74ecf4810f349d60a authored about 2 years ago by Jason Bahl <[email protected]>
- reverting composer.lock (didn't mean to update)

e461dcb8ef3294d7880d774d094469413cd89ba3 authored about 2 years ago by Jason Bahl <[email protected]>
- remove calls to node_key function

- remove node_key function (no longer used)
- call `purge` with the `$relay_id` inside `purge_nod...

25bc559813c6ea6742fa7b60909840157514f8c5 authored about 2 years ago by Jason Bahl <[email protected]>
- remove locally mounted volume

e7ade1090f9cd0d7403261fcc7c712f4435738f7 authored over 2 years ago by Jason Bahl <[email protected]>
- update tests to use `self::factory()` instead of `$this->tester->factory()`

- update docblocks
- remove unused `use` statements
- update composer.lock

7170845e2dd52b7774d314be8fc8dc3463418436 authored over 2 years ago by Jason Bahl <[email protected]>
- remove code in "Collection.php" that has been moved to core WPGraphQL

- update "purge_nodes" function to not require the model in the node key
- update test suite to n...

25a75126dc218ed49c047d3948d86bfc07c457c1 authored over 2 years ago by Jason Bahl <[email protected]>
- update CacheInvalidationTest.php to use query_analyzer from the $request instead of the $collection->get_list_types() function

- remove "determine_query_types" callback from Collection.php
- remove "data_loaded_process_cb" c...

e4d6e24278919a4d38820982967eb3eef57c43d9 authored over 2 years ago by Jason Bahl <[email protected]>
- remove "during_query_resolve_field" function (not used)

- refactor list_types, type_names and model_names to come from query analyzer

bf14e61034a9dd5f3c813aee5ff3d4c1b4e15358 authored over 2 years ago by Jason Bahl <[email protected]>
- remove filter that adds Models to object type registration

2717bdb4a63ef41ce2057b874b7923caa17d6e03 authored over 2 years ago by Jason Bahl <[email protected]>
Merge pull request #160 from wp-graphql/add/comment-cache-eviction

Chore: Add comments cache handling

205f80c89d24397af5f5eeba8f04ffc1b96e8bec authored over 2 years ago by Jason Bahl <[email protected]>
Merge pull request #164 from chriszarate/update/cache-control-max-age

Improve Cache-Control header implementation

68a0532bf5cec7cc39fce877352876f2dc54cd52 authored over 2 years ago by Jason Bahl <[email protected]>
Improve Cache-Control header implementation

This commit introduces several changes:

- Remove references to and control over the `Access-Con...

825dd0e029d24f4d030b089bb9e3ba26a6a91751 authored over 2 years ago by chriszarate <[email protected]>
Merge pull request #156 from wp-graphql/fix/max-age-batch

Use default max-age for batch queries

03500eb30d8429fd1e64c284c071837a38614569 authored over 2 years ago by Jason Bahl <[email protected]>
composer.json merge

e9c0cf858241d1445e144e3a9bd6fbd560e51a83 authored over 2 years ago by Mark Kelnar <[email protected]>
word change: peak -> peek

003be019dc142923443f8096247a8d58f527002d authored over 2 years ago by Mark Kelnar <[email protected]>
Only evict comment cache when transition to/from approved

f0e7d8513cf4ed9e28800d12d4f9a5734e784a50 authored over 2 years ago by Mark Kelnar <[email protected]>
Merge commit '1e11d65f58e441451ec3535e0053fca7f16f6248' into release/v0.1.2

# Conflicts:
# composer.lock

1b4050ee989841153d96ba93f000c6279d25b284 authored over 2 years ago by Jason Bahl <[email protected]>
- update versions for release

19d2cfd567498dc7251cb3a0784899bf0bb93168 authored over 2 years ago by Jason Bahl <[email protected]>
Rename comment query by global id

6a8f787a40275cd46255abfc99dea27ed86296da authored over 2 years ago by Mark Kelnar <[email protected]>
Add comment eviction to post tests

c3f6fc08a3023f647f607a33999da6f211f3dd2a authored over 2 years ago by Mark Kelnar <[email protected]>
Add expected cache key test to helper class

5bb97e01c3a48b15511ad1c5209665ccbc6dc205 authored over 2 years ago by Mark Kelnar <[email protected]>
Only purge cache when created approved comment

d1dd593586a6f490c5dd0552c038260666d368a9 authored over 2 years ago by Mark Kelnar <[email protected]>
Add action for new comment insert

fce7c97f8779417cd9d8acc35d9263025e080c74 authored over 2 years ago by Mark Kelnar <[email protected]>
Add comment purge action on transition

6dc2fee29ce465e6f271a972bae6475dd79a48cc authored over 2 years ago by Mark Kelnar <[email protected]>
Add initial failing tests

9d760bb74f89249177fb059e8718d832d35eb86f authored over 2 years ago by Mark Kelnar <[email protected]>
composer merge

9e3d014440553d0bbc8c5aad78f86799b478f912 authored over 2 years ago by Mark Kelnar <[email protected]>
Use max-age header from saved query when batch query request

a8103c3845318e2264b410bb51342109bcac996e authored over 2 years ago by Mark Kelnar <[email protected]>
Merge remote-tracking branch 'origin/main' into fix/max-age-batch

e5bcc5c324ac109e486c462adad460c3a4e9f079 authored over 2 years ago by Mark Kelnar <[email protected]>
Merge pull request #159 from wp-graphql/refactor/save-urls

Move url collection to WPE plugin

1e11d65f58e441451ec3535e0053fca7f16f6248 authored over 2 years ago by Jason Bahl <[email protected]>
Add more parameters to save_request action

e8b150b87b60b67f57f3f2810e858b06ef0d75cb authored over 2 years ago by Mark Kelnar <[email protected]>
Move url collection to WPE plugin

557dde40fa556072d45459b0ea8f0ab597f606d0 authored over 2 years ago by Mark Kelnar <[email protected]>
Merge pull request #151 from wp-graphql/fix/batch-queries

Handle after-execute actions for batch query loop

1ef05964483ce2b50fd5ea6199ccf11b3c188297 authored over 2 years ago by Jason Bahl <[email protected]>
merge conflicts

081e4b5582a89a508c67e355649fd659ad81474b authored over 2 years ago by Mark Kelnar <[email protected]>
Merge pull request #157 from wp-graphql/fix/purge-all-callback

Fix/purge all callback

9a1760e9ab7abdbd51cd83abeb094231a9da46d7 authored over 2 years ago by Jason Bahl <[email protected]>
Add object cache purge all action test

19ec3e688d4f7cc2994d22d958d7312ad75afcb3 authored over 2 years ago by Mark Kelnar <[email protected]>
Use purge all callback for object cache purge

233f97f98753507a48fb27b331a5662ea76adda5 authored over 2 years ago by Mark Kelnar <[email protected]>
Use purge all callback for object cache purge

a7587eecd3337f6d77eb0fa7cb7edd7f0d94a54d authored over 2 years ago by Mark Kelnar <[email protected]>
Use default max-age for batch queries

6222dd6220ce12c137ccc3c2c209706d1d9fe5da authored over 2 years ago by Mark Kelnar <[email protected]>
Merge pull request #155 from wp-graphql/bug/#154-broken-tests-for-post-invalidation

bugfix: #154 - Fix broken tests in PostCacheInvalidation test suite

8723db867e4a9e924e69f766727f4fe969fafe90 authored over 2 years ago by Mark Kelnar <[email protected]>
- update tests to make assertions on the "data" not the entire GraphQL payload

0bd67a220441a460f7ff07f6575afdc424e2b6de authored over 2 years ago by Jason Bahl <[email protected]>
Upload pr152-wp-graphql-smart-cache.zip (ec4db)

Pull request: https://github.com/wp-graphql/wp-graphql-smart-cache/pull/152
Commit: https://gith...

f863b3e242335b3f68c652fc13816d2dbb910bfb authored over 2 years ago by github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Add isset on cached key

9ce50a359b5f3729d4a82b5eed1cd94edaf11a76 authored over 2 years ago by Mark Kelnar <[email protected]>
Rename graphql_execute_query_params filter

200e4bbdd86be212a57aac5fe48494f208407245 authored over 2 years ago by Mark Kelnar <[email protected]>
Test batch queries over http return cached results

c8122acab4d253ebd37f47be741f8c9f9099b88a authored over 2 years ago by Mark Kelnar <[email protected]>
Add query_id to save_query_mapping_cb for batch query fix

5ad76417126ef6ed9a9c41cbb769f5c4275e6797 authored over 2 years ago by Mark Kelnar <[email protected]>
Fix single request params args

e6870ea19885c0b86884cacecdb41708175bddc6 authored over 2 years ago by Mark Kelnar <[email protected]>
Handle after-eecute actions for batch query loop

6fdfc9bb89f02ee277427af4bf71bab6aaf6c352 authored over 2 years ago by Mark Kelnar <[email protected]>