Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Download: Check if new file is on server

$
0
0

@GloriaS wrote:

Hi,

when the user clicks a button, I would like to check whether there is a new javascript file on my server and if so, download it. Let's say there is a new version of this file every week. I've implemented the download already, but I would like to know how to best implement the check for the file version. Do I do this via the filename (e.g. add the date to the file name) or via headers? Do I somehow use 'if-modified-since'?

Any help appreciated.

Best regards
Gloria

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>