M
M
mashimashimamanashishiman2016-08-02 22:17:32
Yii
mashimashimamanashishiman, 2016-08-02 22:17:32

How to make css and js time caching in yii2?

How to make time caching in AssetManager?
those. if the file is changed, you need to include the new version.
now, in order for new files to be connected, you need to clean the assets folder

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Fedorov, 2016-08-03
@mashimashimamanashishiman

study in more detail the principles of working with resources in Yii , they also contain information about caching resources and copying them

E
Evgeny Bukharev, 2016-08-02
@evgenybuckharev

Configure AssetManager so that it does not copy files, but creates links to them

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question