Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Adding general assetic cookbook article #459

Merged
merged 2 commits into from Jun 27, 2011

Conversation

Projects
None yet
3 participants
Contributor

richardmiller commented Jun 27, 2011

No description provided.

@stof stof commented on an outdated diff Jun 27, 2011

cookbook/assetic/asset_management.rst
+For production, where you will not be making changes to the asset files,
+performance can be increased by avoiding the step of checking for changes.
+Assetic allows you to go further than this and avoid touching Symfony2
+and even PHP at all when serving the files. This is done by dumping all
+of the output files using a console command. These can then be served directly
+by the web server as static files, increasing performance and allowing the
+web server to deal with caching headers. The console command to dump the files
+is:
+
+.. code-block:: bash
+
+ php app/console assetic:dump
+
+.. note::
+
+ Once you have dumped the output this you will need to run the console
@stof

stof Jun 27, 2011

Member

the is an extra this here

weaverryan added a commit that referenced this pull request Jun 27, 2011

Merge pull request #459 from richardmiller/adding_assetic_article
Adding general assetic cookbook article

@weaverryan weaverryan merged commit 86528a6 into symfony:master Jun 27, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment