Skip to content

nginx reverse proxy cache manager #1

@naturallymitchell

Description

@naturallymitchell

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions