Archived video

This video is archived and won't be updated. We're keeping it online for now as a courtesy.

Alternate resources: 

Cache the Prod Environment Only in Symfony 3

Video loading...

Transcript language code: 

Join Drupalize.Me to watch this video

Join today and gain instant access to our entire video library.

Log in Sign up
  • 0:08
    We absolutely need to cache
  • 0:10
    our markdown processing.
  • 0:12
    But what if we need to tweak how the markdown renders?
  • 0:16
    In that case we don't want caching,
  • 0:17
    that would be really annoying to work with.
  • 0:21
    Could we somehow disable caching
  • 0:22
    in the dev environment only?
  • 0:25
  • 0:26
    Copy the doctrine_cache section
  • 0:28
    from config.yml and paste it into config_dev.yml.

Cache the Prod Environment Only in Symfony 3


In this lesson you'll learn how to configure settings for specific environments. Here we'll disable caching for the dev environment, so that caching is enabled only for the prod environment.

Log in or sign up to download companion files.
Additional resources: