Caching
Code highlighting is a resource intensive process. That's why the component ships with caching out of the box. By default, the component uses the default cache store.
To configure the store to use, or to disable caching, change the value of the cache_store
param in the markdown
config file.
Publishing the markdown config file
php artisan vendor:publish --provider="Spatie\LaravelMarkdown\MarkdownServiceProvider" --tag="markdown-config"
Code highlighting is a resource intensive process. That's why the component ships with caching out of the box. By default, the component uses the default cache store.
To configure the store to use, or to disable caching, change the value of the cache_store
param in the markdown
config file.
Publishing the markdown config file
php artisan vendor:publish --provider="Spatie\LaravelMarkdown\MarkdownServiceProvider" --tag="markdown-config"