Skip to content

Commit

Permalink
Merge pull request #40 from pnorman/cache_control
Browse files Browse the repository at this point in the history
Use Cache-Control: no-cache
  • Loading branch information
zerebubuth committed Aug 1, 2013
2 parents ab2e40f + 9f497eb commit 637e214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ process_get_request(FCGX_Request &request, routes &route,
"Content-Type: text/xml; charset=utf-8\r\n"
"Content-Disposition: attachment; filename=\"map.osm\"\r\n"
"Content-Encoding: %s\r\n"
"Cache-Control: private, max-age=0, must-revalidate\r\n"
"Cache-Control: no-cache\r\n"
"%s"
"\r\n", encoding->name().c_str(), cors_headers.c_str());

Expand Down

0 comments on commit 637e214

Please sign in to comment.