Forum: NGINX nginx caching successive requests to reduce server load

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community 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
the
page instead of getting the latest. When client stops pressing refresh
and
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:
http://forum.nginx.org/read.php?2,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:
http://forum.nginx.org/read.php?2,240976,240987#msg-240987
This topic is locked and can not be replied to.