Force Updating Apple Touch Icons
Opened this issue · 1 comments
From what I can tell, the version being appended doesn't force my Apple Touch Icons (and the Favicon for Mac) to update. However, appending the last modified date did the trick for me.
<link rel="apple-touch-icon" href="apple-touch-icon.png?m=1415832495" />
Shoutout to Michael Irigoyen from StackOverflow for the help.
Thank you for reporting.
So to rephrase, you mean the code generated by RFG does not enforce a refresh. For example:
<link rel="apple-touch-icon" href="apple-touch-icon.png?v=47rQkpRx5B">
But with the output of filetime
, it works. For example:
<link rel="apple-touch-icon" href="apple-touch-icon.png?m=1415832495">
I'm very surprised a value can do the trick and not another one. Safari would need to be particularly sophisticated to distinguish them.
Browsers tend to be particularly slow when it comes to favicon (re)loading. Maybe this is due to the way you tested it, like, if you didn't "wait" enough to let Safari gently reload your new icon.