@@ -10,7 +10,7 @@ How to Use a Custom Version Strategy for Assets
1010Asset versioning is a technique that improves the performance of web
1111applications by adding a version identifier to the URL of the static assets
1212(CSS, JavaScript, images, etc.) When the content of the asset changes, its
13- identifier is also modified to force the browser download it again instead of
13+ identifier is also modified to force the browserto download it again instead of
1414reusing the cached asset.
1515
1616Symfony supports asset versioning thanks to the
@@ -103,16 +103,14 @@ version string::
103103
104104 private function loadManifest(array $options)
105105 {
106- $hashes = json_decode(file_get_contents($this->manifestPath), true);
107-
108- return $hashes;
106+ return json_decode(file_get_contents($this->manifestPath), true);
109107 }
110108 }
111109
112110Register the Strategy Service
113111~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114112
115- After creating the strategy PHP class, register it as a Symfony service
113+ After creating the strategy PHP class, register it as a Symfony service.
116114
117115..configuration-block ::
118116
@@ -186,7 +184,7 @@ the :ref:`version_strategy <reference-framework-assets-version_strategy>` option
186184 http://symfony.com/schema/dic/symfony http://symfony.com/schema/dic/symfony/symfony-1.0.xsd" >
187185
188186 <framework : config >
189- <framework : assets version_strategy =" app.assets.versioning.gulp_buster" />
187+ <framework : assets version-strategy =" app.assets.versioning.gulp_buster" />
190188 </framework : config >
191189 </container >
192190