Try Now
More in this section

Forums / Bugs & Issues / Removing ?sfvrsn=X from resource urls

Removing ?sfvrsn=X from resource urls

2 posts, 0 answered
  1. Nick
    Nick avatar
    1 posts
    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
    16 Jun 2015
    19 Sep 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