tenancy-docs/docs/source/v2/global-stuff.blade.md
2019-09-22 19:43:32 +02:00

29 lines
646 B
Markdown

---
title: Global Cache/Storage/Assets/...
description: Global Cache/Storage/Assets/...
extends: _layouts.documentation_v2
section: content
---
# Global Cache/Storage/Assets/...
## Global Cache {#global-cache}
Use the `GlobalCache` facade, or the `global_cache()` helper.
## Global Storage {#global-storage}
Create a disk and *don't* add it to `tenancy.filesystem.disks`.
## Global Assets {#global-assets}
Use the `global_asset()` helper.
## Global Database {#global-database}
Create a new connection and use it like `DB::connection($connectionName)->table('foo')->where(...)`
## Global Queues/Jobs {#global-queues-jobs}
Coming soon.