Configuration: primefaces.HIDE_RESOURCE_VERSION and updating PrimeFaces
See original GitHub issueDescription
#8752 -this is a nice feature, because it is bad practice to have that much visible library version for everyone, but it is problematic when you update Primeface and people have cached version of old scripts.
Describe the solution you would like
Maybe instead of boolean, there can be configuration that could accept custom String, for example:
<context-param>
<param-name>primefaces.RESOURCE_VERSION</param-name>
<param-value></param-value>
</context-param>
<context-param>
<param-name>primefaces.RESOURCE_VERSION</param-name>
<param-value>49827659</param-value>
</context-param>
Additional context
No response
Issue Analytics
- State:
- Created a year ago
- Comments:14 (9 by maintainers)
Top Results From Across the Web
Understanding PrimeFaces process/update and JSF f:ajax ...
The process attribute tells JSF, using a space-separated list of client IDs, which components exactly must be processed through the entire JSF ......
Read more >update="@all" is not working with "<ui:include ..."
When you use update="@all" in PrimeFaces ajax response does contain page code but it's not applied. I mean it is not refreshed in...
Read more >PrimeFaces Elite 3.5.9 Released
PrimeFaces Team is pleased to announce a new Elite release. 3.5.9 is an important upgrade featuring 35 improvements making close 200 ...
Read more >p:poll seems to update full view - Prime Community Forum
When using p:poll with a specific component in the "update" attribute, it still seems to refresh the full view. Indeed, I have, on...
Read more >primefaces-p:poll - Tag Documentation
Description: Poll is an ajax component that has the ability to send periodical ajax requests and execute listeners on JSF backing beans.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yep I will add an example in the docu how to override and set this yourself. I am changing this ticket to
documentation
.everyone can simple overwrite the ResourceHandler and append such a UID i wouldnt add this to PF.