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

前端 未结 5 980
无人及你
无人及你 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:28

    Try to remove this part of code in routing_dev.yml when use_controller is false :

    _assetic:
        resource: .
        type:     assetic
    

提交回复
热议问题