title: Getting version of json file
body: <p>I have a json file on my server and need to access it from my app. The app is set up so that it should download the images that the json contains(just the URL's are inside the json) when a new version of this file is available however. </p>
  
  <p>The problem that i'm having is, that I'm not sure what is the best way to get this version of the json file. Should I download the file everytime I need to check just the version? I thought I could make a php script that would just return the version of the json file however, I do not know how I would get on to make such a script since i don't know a lot about PHP. </p>
  
  <p>Tl:DR What is the best way to get the version of a json file by downloading the whole file and parsing it in the app or creating a PHP script that returns just the version. If its the latter how would I create such a PHP script?</p>
  
  <p>Thanks in advance
  -Jorge</p>