Hi Myles, On Thu, Apr 26, 2012 at 1:19 PM, Myles Kadusale <[email protected]>wrote:
> Good Day!**** > > ** ** > > I would like to clarify on something about varnish’s behavior.**** > > ** ** > > I have a page and its including a javascript file.**** > > Now the page content does not change or it’s a static page while the > javascript file’s content is always changing.**** > > Would varnish still cache the page and serve the page using the cache? > Varnish would cache both the web page and the Javascript page according to headers or configuration. Set a long TTL for the HTML page and a short TTL for the Javascript file and you'll be fine. -- Per Buer Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / Skype: per.buer *Varnish makes websites fly!* Whitepapers <http://www.varnish-software.com/whitepapers> | Video<http://www.youtube.com/watch?v=x7t2Sp174eI> | Twitter <https://twitter.com/varnishsoftware>
_______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
