Skip to content

Commit 81dd542

Browse files
committed
modulo2 - Step8 Caching in the prod Environment Only
1 parent 5682aab commit 81dd542

File tree

4 files changed

+85
-33
lines changed

4 files changed

+85
-33
lines changed

Diff for: .idea/workspace.xml

+79-31
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: app/config/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ twig:
3838
debug: '%kernel.debug%'
3939
strict_variables: '%kernel.debug%'
4040
number_format:
41-
thousands_separator: '.'
41+
thousands_separator: ','
4242

4343
# Doctrine Configuration
4444
doctrine:

Diff for: app/config/config_dev.yml

+4
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,7 @@ monolog:
3939

4040
#swiftmailer:
4141
# delivery_addresses: ['[email protected]']
42+
doctrine_cache:
43+
providers:
44+
my_markdown_cache:
45+
type: array

Diff for: web/app.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
include_once __DIR__.'/../var/bootstrap.php.cache';
88
}
99

10-
$kernel = new AppKernel('prod', false);
10+
$kernel = new AppKernel('prod', true);//recomendado deixar false
1111
if (PHP_VERSION_ID < 70000) {
1212
$kernel->loadClassCache();
1313
}

0 commit comments

Comments
 (0)