[ 
https://issues.apache.org/jira/browse/TAP5-1133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12864736#action_12864736
 ] 

Igor Drobiazko edited comment on TAP5-1133 at 5/6/10 7:39 AM:
--------------------------------------------------------------

This can be fixed by following contribution. 

public static void contributApplicationDefaults(MappedConfiguration<String, 
String> configuration) {
    configuration.add(SymbolConstants.APPLICATION_VERSION, "any_app_version");
}


      was (Author: igor.drobiazko):
    This can be fix by following contribution. 

public static void contributApplicationDefaults(MappedConfiguration<String, 
String> configuration) {
    configuration.add(SymbolConstants.APPLICATION_VERSION, "any_app_version");
}

  
> app-version in URL should be disabled when in production-mode
> -------------------------------------------------------------
>
>                 Key: TAP5-1133
>                 URL: https://issues.apache.org/jira/browse/TAP5-1133
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.1.0.0, 5.1.0.1, 5.1.0.2, 5.1.0.3, 5.1.0.4, 5.1.0.5, 
> 5.1.0.6, 5.1.0.7
>            Reporter: Antoine Lochet
>            Assignee: Igor Drobiazko
>            Priority: Minor
>             Fix For: 5.1.0.5
>
>
> The app-version added in the URL for static elements which is convenient is 
> development mode to avoid browser caching.
> We have a trouble in production when Tapestry is behind load-balancers.
> One request can fail (error 404) if it arrives on a different server after a 
> first request on another server.
> This should be desactivated in production-mode to avoid such errors.
> Or at least make an fixed default app-version when in this porduction-mode.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to