Actually, no. Try this instead, which computes modulo only based on file path portion of URL:
http://devel.kostdoktorn.se/patches/wp-super-cache-persistent-cdn-v3.patch

This still doesn’t handle URLs between different sites in network, ie link on site1 to resource on site2. It would certainly be possible to do, but I’m not sure if it is worth it. Or if it is something everyone would want.