Added "public" to Cache-Control header.
the build was successful
Details
the build was successful
Details
"max-age" already indicates that it can be cached, but it can't hurt to allow it explicitly.
This commit is contained in:
parent
d065ed3bd2
commit
3666be0872
|
@ -31,7 +31,7 @@ settings::Settings settings::settings;
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
cout << "Server: libravatarserv/" << global::version << endl;
|
cout << "Server: libravatarserv/" << global::version << endl;
|
||||||
cout << "Cache-Control: max-age=86400\n";
|
cout << "Cache-Control: public, max-age=86400\n";
|
||||||
cout << "Connection: close\n";
|
cout << "Connection: close\n";
|
||||||
|
|
||||||
const char *request = std::getenv("REQUEST_URI");
|
const char *request = std::getenv("REQUEST_URI");
|
||||||
|
|
Loading…
Reference in New Issue