You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any way to include mtime comparisons if brotli_static is set to auto such that if the .br file is older than the original, it isn't used?
We've developed an open-source tool to aid in static-compression of web content, (github link) and we've found that setting the mtime on the .br or .gz copy to match the source mtime is a good way of keeping cached content up-to-date without re-caching everything. It would be great if, should one update a resource and forget to update the cached copy, ngx_brotli did not serve the outdated version.
Thanks!
The text was updated successfully, but these errors were encountered:
Is there any way to include mtime comparisons if
brotli_static
is set toauto
such that if the .br file is older than the original, it isn't used?We've developed an open-source tool to aid in static-compression of web content, (github link) and we've found that setting the mtime on the .br or .gz copy to match the source mtime is a good way of keeping cached content up-to-date without re-caching everything. It would be great if, should one update a resource and forget to update the cached copy, ngx_brotli did not serve the outdated version.
Thanks!
The text was updated successfully, but these errors were encountered: