Commit 7711950d940cbde7c4e20a00b194c6e36fe654b7
1 parent
126a8ca3
reduce expire for assets to 12 hours...currently I expect changes even more ofte…
…n. At the end this is another condidate for the configuration file.
Showing
1 changed file
with
4 additions
and
1 deletions
... | ... | @@ -55,10 +55,13 @@ httpWorkerGetAsset(HttpWorker this, const char * fname) |
55 | 55 | nmatch = (header->nvalue)[0]; |
56 | 56 | } |
57 | 57 | |
58 | + /* | |
59 | + * assets expire after 12 hours... | |
60 | + */ | |
58 | 61 | message = (HttpMessage)httpResponseAsset( |
59 | 62 | fname, |
60 | 63 | nfname, |
61 | - time(NULL) + 604800); | |
64 | + time(NULL) + 43200); | |
62 | 65 | |
63 | 66 | if (NULL == message) { |
64 | 67 | return (HttpMessage)httpResponse404(); | ... | ... |
Please
register
or
login
to post a comment