More in this section
Forums / Bugs & Issues / Removing ?sfvrsn=X from resource urls

Removing ?sfvrsn=X from resource urls

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Nick
    Nick avatar
    1 posts
    Registered:
    10 Oct 2014
    27 Aug 2015
    Link to this post

    I'm currently working on page speed improvements for a SiteFinity project, and one of the issues being recommended to us is to remove query string params in things like images.

    Resources with a "?" in the URL are not cached by some proxy caching servers.

     Is it possible to have images load on the website without including the ?sfvrsn=0 or whatever number would be at the end.  When I try trying in the image url without this query string attribute the image appears to load fine.

     

  2. Aaron Stanley King
    Aaron Stanley King avatar
    2 posts
    Registered:
    16 Jun 2015
    19 Sep 2016 in reply to Nick
    Link to this post
    I found this:  http://www.sitefinity.com/developer-network/forums/developing-with-sitefinity-/changing-urls-of-documents-and-pdfs 

    "This can be done from the advanced settings for libraries, just remove the value in UrlVersionQueryParameter and save. "
2 posts, 0 answered