{"id":20728816,"url":"https://github.com/npwalker/pe_nginx_cache","last_synced_at":"2026-04-14T01:32:16.106Z","repository":{"id":57664394,"uuid":"79390555","full_name":"npwalker/pe_nginx_cache","owner":"npwalker","description":"A Puppet module for configuring caching in pe-nginx","archived":false,"fork":false,"pushed_at":"2022-01-20T15:25:04.000Z","size":15,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-17T20:19:55.412Z","etag":null,"topics":["nginx-cache","pe-nginx","performance","puppet-enterprise"],"latest_commit_sha":null,"homepage":null,"language":"Puppet","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/npwalker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-18T22:20:38.000Z","updated_at":"2022-01-20T15:25:07.000Z","dependencies_parsed_at":"2022-09-26T21:40:36.638Z","dependency_job_id":null,"html_url":"https://github.com/npwalker/pe_nginx_cache","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/npwalker%2Fpe_nginx_cache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/npwalker%2Fpe_nginx_cache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/npwalker%2Fpe_nginx_cache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/npwalker%2Fpe_nginx_cache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/npwalker","download_url":"https://codeload.github.com/npwalker/pe_nginx_cache/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243007355,"owners_count":20220813,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["nginx-cache","pe-nginx","performance","puppet-enterprise"],"created_at":"2024-11-17T04:40:05.780Z","updated_at":"2025-12-25T01:12:30.492Z","avatar_url":"https://github.com/npwalker.png","language":"Puppet","readme":"# How to use\n\nIn order to setup caching for different console middleware endpoints you need\ntwo things.  \n\n1.  `include pe_nginx_cache::proxy_cache_path`\n\nThis configures nginx's cache on disk.\n\n2.  ```\n    pe_nginx_cache::cache_endpoint { '/path/to/endpoint' :\n      proxy_cache_valid =\u003e '200 \u003cduration\u003e'\n    }\n    ```\n\nThis defined type configures multiple settings in nginx that enable caching for\nthat endpoint.  You can find an endpoint you want to cache by looking in chrome\ndev tools.  You likely want to change the `proxy_cache_valid` setting which is\nwhat determines how long the endpoint data will be cached for.  The default is\n5m but you may want longer or shorter depending on the endpoint.  \n\n# Examples\n\nLook in the examples directory.  \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnpwalker%2Fpe_nginx_cache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnpwalker%2Fpe_nginx_cache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnpwalker%2Fpe_nginx_cache/lists"}