Varnish caching - age gets reset -


i have simple site , setting varnish cache on it. server nginx.

the cache seems automatically purged after 120 seconds when go on site see age header being reset.

can point me towards remove , have pages cached indefinitely or until manually purge varnish?

you did not mention os or distribution, example on centos /etc/sysconfig/varnish sets defaults varnish. amongst defaults varnish_ttl=120, sets default ttl 120 seconds.

if wish set high ttl objects, can edit default 1 in /etc/sysconfig/varnish.


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -