Invalidating items on external IP change

Issue #635 wontfix
Former user created an issue

Since many generated content links are linked to the current IP they become invalid if the IP changes. I know that it's possible to set expiresImmediately, but that incurs permanent long loading times.

Comments (3)

  1. Petr Nejedly repo owner

    You mean external IP of the Serviio server box? That seems like an awful lot of work, to work out if the IP changed (either via UPnP router, or calling some extrenal web service to ping back)

  2. Former user Account Deleted

    Yes, the internet IP. The check is easy http://api.exip.org/?call=ip, as well as doing that once in 5-15 minutes. Well, it's up to you to decide if you want to implement that)

    And I think that it would be better to return some flag from the plugin's extractUrl(), smth. like ipBound, and invalidate only those items.

  3. Log in to comment