Might be because the server does not send a Last-Modified header.
Or because it always sends the current date/time as Last-Modified.
(Firefox shows the headers in the Page Information dialog, accessible through the page’s context menu.)
You could always put a date (or version number or whatever) as a comment in the html file and check that from the SDK. Would have to download the full file instead of just the header though and would need to keep that comment up to date so it’s not ideal.
Hm, I actually just set the URL to the panel, I never get the actual content myself ^^ But I guess as I have that urlConnector now that should be possible too… See @madjack? Hours!
Edit: Maybe a hash of the String would even be easier? That should always be the same for the same string, right?
@madjack said:
And I thank you for it! Besides, you learned something new. That's great! ;) :P
Personally I would just have put a simple text file with a version number or date and fetched that. shrug
Cause a text file plus a wiki page is so much easier to update? ^^ Now we just need to change that page content, e.g. when we find out about a critical bug or put out a new release version of the SDK.
@normen said:
Cause a text file plus a wiki page is so much easier to update? ^^ Now we just need to change that page content, e.g. when we find out about a critical bug or put out a new release version of the SDK.
True, but it also means I wouldn’t have to spend hours. Just a tiny bit of time when I update.
Hairsplitting is an activity that I sometimes like to do.