@Override
    public String getRequestPath() {
        if (version == null) {
            return super.getRequestPath();
        }
        return super.getRequestPath() + version;
    }
{@link ResourceWrapper} which appends the version of PrimeFaces to the URL.
primefaces/src/main/java/org/primefaces/application/resource/PrimeResource.java