Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFC 7232] Conditional requests for cache entries revalidation #518

Open
2 tasks
krizhanovsky opened this issue May 25, 2016 · 0 comments
Open
2 tasks

[RFC 7232] Conditional requests for cache entries revalidation #518

krizhanovsky opened this issue May 25, 2016 · 0 comments

Comments

@krizhanovsky
Copy link
Contributor

krizhanovsky commented May 25, 2016

#515 requires sending conditional requests to origin server, so Tempesta must be able to generate and send If-Modified-Since requests and process corresponding responses from origin server. See RFC 7234 4.3.2 for the header processing logic in requests and 4.3.3 and 4.3.4 for appropriate response processing logic. The issues is a further development of #519.

There are 2 parts of the issue:

  • send conditional requests to the origin server for requests for must-revalidate cached responses and conditional requests. It's much cheaper for the origin to reply with "not modified" than to build the response, probably with a database access.
  • Send automatic revalidation (conditional requests) by the timer/eviction TDB thread to renew stalled cache entries. This once depends on TDBv0.2: Cache background revalidation and eviction #515 (TDBv2).

Tests

Please make a functional test for the feature as well.

@krizhanovsky krizhanovsky added this to the 0.5.0 Web Server milestone May 25, 2016
@krizhanovsky krizhanovsky assigned vankoven and unassigned keshonok Dec 20, 2016
@krizhanovsky krizhanovsky modified the milestones: 1.0 Web Operating System, 0.9 Web server Jan 14, 2018
@krizhanovsky krizhanovsky modified the milestones: 1.3 Web server & advanced strings, 1.0 Beta Feb 2, 2019
@krizhanovsky krizhanovsky modified the milestones: 1.0 - Beta, 1.2 TBD Jan 3, 2022
@krizhanovsky krizhanovsky modified the milestones: 1.1: TBD, 1.0 - GA Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants