You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by bo...@apache.org on 2012/02/14 02:22:33 UTC
svn commit: r1243760 -
/tapestry/tapestry5/trunk/quickstart/filtered/archetype-resources/src/main/java/services/AppModule.java
Author: bobharner
Date: Tue Feb 14 01:22:32 2012
New Revision: 1243760
URL: http://svn.apache.org/viewvc?rev=1243760&view=rev
Log:
TAP5-1830: fixed by adding wording suggested by Sigbjørn Tvedt
Modified:
tapestry/tapestry5/trunk/quickstart/filtered/archetype-resources/src/main/java/services/AppModule.java
Modified: tapestry/tapestry5/trunk/quickstart/filtered/archetype-resources/src/main/java/services/AppModule.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/quickstart/filtered/archetype-resources/src/main/java/services/AppModule.java?rev=1243760&r1=1243759&r2=1243760&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/quickstart/filtered/archetype-resources/src/main/java/services/AppModule.java (original)
+++ tapestry/tapestry5/trunk/quickstart/filtered/archetype-resources/src/main/java/services/AppModule.java Tue Feb 14 01:22:32 2012
@@ -32,12 +32,13 @@ public class AppModule
public static void contributeFactoryDefaults(
MappedConfiguration<String, Object> configuration)
{
- // The application version number is incorprated into URLs for some
- // assets. Web browsers will cache assets because of the far future expires
- // header. If existing assets are changed, the version number should also
- // change, to force the browser to download new versions. This overrides Tapesty's default
- // (a random hexadecimal number), but may be further overriden by DevelopmentModule or
- // QaModule.
+ // The application version is incorprated into URLs for most assets. Web
+ // browsers will cache assets because of the far future expires header.
+ // If existing assets change (or if the Tapestry version changes) you
+ // should also change this number, to force the browser to download new
+ // versions. This overrides Tapesty's default (a random hexadecimal
+ // number), but may be further overriden by DevelopmentModule or QaModule
+ // by adding the same key in the contributeApplicationDefaults method.
configuration.override(SymbolConstants.APPLICATION_VERSION, "${version}");
}