I'm no expert on the technical details of Linux (or even the deeper aspects of internetworking), but I'm not sure if it's possible to use SME as a web cache without using it as a gateway. Is there a specific reason you don't want to use it as the gateway? You're already thinking of routing all the traffic through it, so it seems a bit illogical to me to not use it as the gateway...