Commit 649b830a by Alexander Makarov

Merge pull request #5952 from llfm/patch-1

[skip ci] Fixes to tutorial-performance-tuning
parents add2413e 466f924a
...@@ -51,7 +51,7 @@ scripts for every incoming request. ...@@ -51,7 +51,7 @@ scripts for every incoming request.
If the application is using Active Record, we should turn on the schema caching If the application is using Active Record, we should turn on the schema caching
to save the time of parsing database schema. This can be done by setting the to save the time of parsing database schema. This can be done by setting the
`Connection::enableSchemaCache` property to be `true` via application configuration `Connection::enableSchemaCache` property to be `true` via application configuration
`protected/config/main.php`: `config/web.php`:
```php ```php
return [ return [
...@@ -92,7 +92,7 @@ In order to learn how it can be achieved, refer to [assets](structure-assets.md) ...@@ -92,7 +92,7 @@ In order to learn how it can be achieved, refer to [assets](structure-assets.md)
By default PHP uses files to handle sessions. It is OK for development and By default PHP uses files to handle sessions. It is OK for development and
small projects but when it comes to handling concurrent requests it's better to small projects but when it comes to handling concurrent requests it's better to
switch to another storage such as database. You can do so by configuring your switch to another storage such as database. You can do so by configuring your
application via `protected/config/main.php`: application via `config/web.php`:
```php ```php
return [ return [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment