Skip to content

7.5.0

Choose a tag to compare

@binaryk binaryk released this 30 Jul 20:49
· 43 commits to 7.x since this release
e05c395

Added

This will enable policies to be cached by adding the configuration:

  'cache' => [
      /*
      | Specify the cache configuration for the resources policies.
      | When enabled, methods from the policy will be cached for the active user.
      */
      'policies' => [
          'enabled' => true,

          /*
          | ttl in seconds
          */
          'ttl' => 5 * 60,
      ],
  ],