Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not getting a HIT on the domain #54

Open
cnm-Git opened this issue Oct 10, 2024 · 0 comments
Open

Not getting a HIT on the domain #54

cnm-Git opened this issue Oct 10, 2024 · 0 comments

Comments

@cnm-Git
Copy link

cnm-Git commented Oct 10, 2024

I get a HIT for css, js, etc but not getting a HIT on the domain itself.

I'm on Drupal 9.
My set up: nginx:80 -> varnish:6081 -> apache:7080

Curl response:
HTTP/1.1 200 OK Server: nginx Date: Thu, 10 Oct 2024 06:37:15 GMT Content-Type: text/html; charset=UTF-8 Content-Length: 25745 Connection: keep-alive Cache-Control: must-revalidate, no-cache, private X-Drupal-Dynamic-Cache: MISS X-UA-Compatible: IE=edge Content-language: en X-Content-Type-Options: nosniff X-Frame-Options: SAMEORIGIN Expires: Sun, 19 Nov 1978 05:00:00 GMT X-Commerce-Core: 2 X-Varnish: 491585 Age: 0 Via: 1.1 varnish-v4 X-Cache: MISS X-Cache-Hits: 0 Accept-Ranges: bytes X-Powered-By: PleskLin

I use this link to check if my varnish set up is fully operational. https://isvarnishworking.uk/

Results:
Fail...ish! We detected Varnish on that domain, but the content doesn't appear to be cached. Best check your configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant