{"id":28453909,"url":"https://github.com/concretecms/addon_varnish_cache","last_synced_at":"2025-06-28T05:31:52.458Z","repository":{"id":6198020,"uuid":"7428682","full_name":"concretecms/addon_varnish_cache","owner":"concretecms","description":null,"archived":false,"fork":false,"pushed_at":"2013-12-19T01:08:55.000Z","size":214,"stargazers_count":15,"open_issues_count":1,"forks_count":2,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-06-06T18:53:05.405Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"AlpacaDB/labellio_cli","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/concretecms.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-01-03T19:16:15.000Z","updated_at":"2023-03-21T13:55:23.000Z","dependencies_parsed_at":"2022-09-10T01:32:02.607Z","dependency_job_id":null,"html_url":"https://github.com/concretecms/addon_varnish_cache","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/concretecms/addon_varnish_cache","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/concretecms%2Faddon_varnish_cache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/concretecms%2Faddon_varnish_cache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/concretecms%2Faddon_varnish_cache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/concretecms%2Faddon_varnish_cache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/concretecms","download_url":"https://codeload.github.com/concretecms/addon_varnish_cache/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/concretecms%2Faddon_varnish_cache/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262381463,"owners_count":23302250,"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":[],"created_at":"2025-06-06T18:40:11.657Z","updated_at":"2025-06-28T05:31:52.453Z","avatar_url":"https://github.com/concretecms.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Installation Notes\n\n## Requirements\n\n1. A server running Varnish 3.x. and management console enabled.\n2. PHP with sockets enabled.\n3. Copy scripts/etc/varnish/ into the /etc/varnish/ directory on your Varnish server. This directory might be /opt/local/etc/varnish, or somewhere else.\n4. Copy scripts/site\\_post\\_autoload.php into config/. Make any changes to the config to match any new or updated Varnish config files in etc/varnish/\n5. Add this to your config/site.php file:\n\n\tdefine('PAGE_CACHE_LIBRARY', 'varnish');\n\tdefine('VARNISH_CACHE_VERSION', 'version'); // e.g. 3.0.2\n\t\n6. Copy /scripts/varnishstats.xml.php to your Varnish server. Make sure it is accessible somewhere. Make sure it is pointing to the right binary in the script itself. This script is optional.\n7. Copy /scripts/tools/poll.php to tools/poll.php and make sure that it is accessible through yoursite.com/index.php/tools/poll/\n8. Start Varnish with a command similar to this one:\n\n\tsudo varnishd -a your.server.com:80 -T 127.0.0.1:6082 -s file,/tmp,500M\n\t\nor\n\n\tsudo varnishd -a your.server.com:80 -T 127.0.0.1:6082 -S /opt/local/etc/varnish/secret_key -s file,/tmp,500M\n\n9. Add the relevant admin host information to your server\n10. Enable the concrete5 Varnish config file in Dashboard \u003e Varnish \u003e Configuration\n11. Start Varnish via the dashboard.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconcretecms%2Faddon_varnish_cache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconcretecms%2Faddon_varnish_cache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconcretecms%2Faddon_varnish_cache/lists"}