-
Notifications
You must be signed in to change notification settings - Fork 253
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
First Request is never cached #957
Comments
@thampe Was going to look into this. I've noticed a jump in first page load time too |
I confirm this issue. Even the cache is warmed by other visitors, always the first time page visit takes a lot of time to load. |
I think this is because return pipe should only be the case if session generation is turned off in varnish |
Have you seen #924 @thampe @craigcarnell @addison74? |
Yes I have seen the issue, I think @craigcarnell solution (#959) is smarter and fits better for certain setups. Most pages have a seo-freindly url and can not be matched reliably with a reg-ex. |
Merged into devel, feel free to try this and please let us know if you find any issues. |
Hi,
every new request without a frontend cookie can be not cached.
Relevant snippet from
version-3.vcl
:Since the last two versions (
0.6.5
and0.6.6
) when no frontend-cookie is present the request goes straight to the backend server (return (pipe)
). This a bit of a problem for our shop, since most first requests go to a page where a vaild form_key and CSFR protection is not really necessary, but a fast page load is.As always thanks for your help.
The text was updated successfully, but these errors were encountered: