-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
when new content is created, add it to the cache
when content is updated, remove it and re-add it to the cache
.. or just whenever json-interface/create_document.action runs, invalidate that document and request it from nginx
we should send ETag hash to make this easier
we'd need to update lists too, but that's pretty difficult without indexes
https://github.com/perusio/nginx-cache-purge/blob/master/nginx-cache-purge
https://www.nginx.com/blog/nginx-caching-guide/
https://serverfault.com/questions/549200/how-do-i-force-nginx-to-load-new-static-files
https://stackoverflow.com/questions/6236078/how-to-clear-the-cache-of-nginx
http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_path
Metadata
Metadata
Assignees
Labels
No labels