webpack-contrib / cache-loader

[DEPRECATED] Caches the result of following loaders on disk
MIT License
638 stars 51 forks source link

Cache TTL to assests #95

Closed developdeez closed 4 years ago

developdeez commented 4 years ago

I would like to set my Cache TTL for my assests to 1 year by recommendation from Google PageInsights. But I dont see in the docs where to do this. Im using webpack on my react client.

alexander-akait commented 4 years ago

You don't need it, loader doesn't response for ttl cache header, you can remove cache when you want it just remove node_modules/.cache/cahce-loader directory