How to use LiteSpeed Cache for Laravel on laraship?

Laraship QuestionsCategory: TechnicalHow to use LiteSpeed Cache for Laravel on laraship?
frank asked 3 years ago
How to disable internal laraship Cache?  Will the litespeed cache for laravel work on laraship?  https://www.litespeedtech.com/products/cache-plugins/laravel-acceleration https://docs.litespeedtech.com/lscache/lsclaravel/
1 Answers
laraship Staff answered 3 years ago
Hello, Unfortunately we haven't used LiteSpeed Cache module before, we're happy to explore it as custom development to Disable Cache from ALl modules   add the following file  config/laravel-model-caching.php  
<?php

return [
    'cache-prefix' => '',

    'enabled' => env('MODEL_CACHE_ENABLED', true),

    'use-database-keying' => env('MODEL_CACHE_USE_DATABASE_KEYING', true),

    'store' => env('MODEL_CACHE_STORE'),
];

and set MODEL_CACHE_ENABLED to false inside .env