You can do this, but you must install squid from source to enable the DELAY_POOLS feature, since it's not enabled by default in most distros. You can take a look at
this tutorial to see how you can achieve this. Also take a look at
these examples.
Regards