Clarification about Varnish
Per Buer
perbu at varnish-software.com
Thu Apr 26 13:38:40 CEST 2012
Hi Myles,
On Thu, Apr 26, 2012 at 1:19 PM, Myles Kadusale <mkadusale at novenix.net>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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120426/460a24e0/attachment.html>
More information about the varnish-misc
mailing list