Skip to content

Commit 61f62f1

Browse files
committed
[deploy] Adding note about needing to dump asset independently of clearing cache in 2.1 - thanks to @stof
1 parent d5de482 commit 61f62f1

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

cookbook/deployment-tools.rst

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,15 +104,23 @@ Make sure you clear (and warm-up) your Symfony cache:
104104
105105
$ php app/console cache:clear --env=prod --no-debug
106106
107-
D) Other things!
107+
D) Dump your Assetic assets
108+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
109+
110+
If you're using Assetic, you'll also want to dump your assets:
111+
112+
.. code-block:: bash
113+
114+
$ php app/console assetic:dump --env=prod --no-debug
115+
116+
E) Other things!
108117
~~~~~~~~~~~~~~~~
109118

110119
There may be lots of other things that you need to do, depending on your
111120
setup:
112121

113122
* Running any database migrations
114123
* Clearing your APC cache
115-
* Dumping your Assetic assets (taken care of already in ``cache:clear``)
116124
* Running ``assets:install`` (taken care of already in ``composer.phar install``)
117125
* Add/edit CRON jobs
118126
* Pushing assets to a CDN

0 commit comments

Comments
 (0)