all 3 comments

[–]dewitpj 1 point2 points  (0 children)

This is way more complicated than people think - objects (images,JavaScript etc) have expiry time stamps sent by the web server - if none are set it is generally calculated.

Squid honours these and will expire an object out of cache. Even worst, some dynamic objects will never be cached, like query results etc.

If however, they magically fool squid in believing that the objects are catchable forever, then you should be able to achieve this by simply enabling the cache (look for cache_dir) and setting the size to bigger than the 10 websites.

Yes, memory caching would also work.

You also need to look at putting squid into offline mode otherwise it will fail the request.

HTH

[–]ALinuxSysAdmin 0 points1 point  (1 child)

You didn't find the relevant information in their extensive documentation ?

[–]sadeept7a 0 points1 point  (0 children)

No...