Hi,

I'm trying to check when various web pages have been last updated. So far I
have two approaches.

1)    Check the cfhttp.responseheader["last-modified"] value. This is great
and very reliable but only works on a few sites.

2)    Capture the file content, hash() it and then next time check if the
hash has changed. If it has, use the current date/time as the last updated
value. This works but it seems to be a bit unreliable. Obviously it won't
work on sites that change with each reload. But even on sites that don't, it
seems to be detecting changes when there are none. I guess it's very
sensitive.

Anybody got any better ideas?

Matt.


[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to