it’s not a good idea to use a parameter with name ’id’ other than for the resourceid.
If you want to get the resourceid you can replace the getUrlParam-tag just with [[*id]]
ok but I don’t think this is the problem - I’m just using id as a querystring parameter.
My problem’s caching - if I switch off caching for the resource the snippet works fine.