T
T
TERRAN472016-09-18 13:36:00
caching
TERRAN47, 2016-09-18 13:36:00

What do you need and where to do to start working with cache in Laravel 5.2?

Good day everyone, I want to start working with the cache, stupid questions may arise in the docks,
in the cache.php file
'memcached' => [
[
'host' => '127.0.0.1',
'port' => 11211,
'weight ' => 100
],
],
should I change the host port to my server?
what else needs to be changed in env, maybe something?
'default' => env('CACHE_DRIVER', 'file'), - should I touch it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Snewer, 2016-09-18
@Snewer

Yes, to yours.
The specified parameters are standard. In most cases, they do not need to be changed.
Maybe you just don't have a memcached server?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question