Maoz wrote:
I find out what was the reason for not caching the .jhtml file, it was missing validator (Etag and Last-Modified) header on the origin. Now the BIG question, Is anybody know how to force caching (regardless the Cache-Control header) if there are no validator headers on the object?
Please upgrade your Squid. 3.0 has been in STABLEs for a year nowand tehre are a very many issues fixed for the early PRE releases.
Expires: header indicated an explicit time (past, current, future) in the page needs to be e-fetched. Squid will cache from time of receipt until that time by first preference.
Amos -- Please be using Current Stable Squid 2.7.STABLE5 or 3.0.STABLE12 Current Beta Squid 3.1.0.4