Forum: NGINX nginx caching successive requests to reduce server load

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
2974d09ac2541e892966b762aad84943?d=identicon&s=25 nurettin (Guest)
on 2013-07-18 09:02
(Received via mailing list)
Hi, I couldn't find what I was looking for in the search option.

 For a page that displays current time when refreshed, when the client
presses and holds refresh button, nginx should serve a cached version of
page instead of getting the latest. When client stops pressing refresh
waits for X ms, then refreshes again, I should see the newest time.

Is there an option for this in nginx?

Posted at Nginx Forum:,240976,240976#msg-240976
2974d09ac2541e892966b762aad84943?d=identicon&s=25 mex (Guest)
on 2013-07-18 12:34
(Received via mailing list)
you can adjust (proxy)-cache-time in seconds

Posted at Nginx Forum:,240976,240987#msg-240987
This topic is locked and can not be replied to.