greenlaw110/greenscript — Issue #36: Greenscript does not respect the staticDir:public route mapping
Author: tazmaniax
Created: 2012-02-14 23:37:21+00:00
State: open

The following discussion suggests a mechanism to avoid browser cached resources when deploying a new application version: https://groups.google.com/d/msg/play-framework/1saij-OP1go/CcuN2VxxD4YJ

This mechanism involves inserting a version number contained in a local file into the external prefix for static 'public' resources, e.g.:
GET /public/%{out.write(play.getVirtualFile(".version").contentAsString())}%/ staticDir:public

Greenscript does not take this sort of mapping into account when returning URLs for managed resources.