How to make Symfony2 to load CSS, JS files directly and not via PHP?

前端 未结 5 982
无人及你
无人及你 2021-02-04 04:55

OLD QUESTION, SEE BELOW FOR THE UPDATED VERSION

My development environment is not the fastest. I takes roughly 500ms per PHP request. It\'s starting to

5条回答
  •  广开言路
    2021-02-04 05:37

    I have the same problem, working configuration is: comment out from routing_dev.yml:

    _assetic:
     resource: .
     type:     assetic
    

    set use_controller to false. After doing this I'm able to use assetic:dump and see working page.

提交回复
热议问题