Hello :)
There seems to be a difference in behavior in the way Play deals with assets caching when it is running in production mode compared when it is running in dev mode.
I’m running this sample project.
Dev mode:
$ curl -v 'http://localhost:9000/assets/stylesheets/main.css' 2>&1 | grep 'Cache'
< Cache-Control: no-cache
Production mode:
$ curl -v 'http://localhost:9000/assets/stylesheets/main.css' 2>&1 | grep 'Cache'
< Cache-Control: public, max-age=3600
Is this expected? I didn’t find it documented anywhere.
Thanks!