-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
High hits but the get request for the css, js,..... are not getting the header #2
Comments
The "no-cache" request header is Pingdom requesting an uncached version, but Varnish will happily ignore that header. If a request from cache was available, Varnish will have server that. Have you modified the VCL config in any way? That might influence the way headers are added/removed in the response. |
Yes, I modified it, I would like u to have a look into it if you please, I will email u with the link. |
Sorry @aelsharawi , I can't offer individual support on VCLs, feel free to copy your code here and if time permits, I'll have a look. Thanks, M. |
Ok thanks a lot here is the link best. |
is this the correct syntax for hashing this kind of cookie?
|
Remove line 199 until 208, it adds logic to allow client-based cache flushing. Try again after, should improve cache hit rate. |
Thanks a lot for offering such immediate help :) Can U please advise on the best way to hash this cookie learn_press_user_guest_id=12343232123e98998989
--- I will test the new modification now |
fo r the cookie I figured it out,it shall be:
thanks again for help, I will test the nocache and report back |
this is the new pingom however shows
|
why I'm not getting like this website? https://www.dropbox.com/s/2ipnl54m7qhvdm5/Screenshot%202017-05-15%2015.26.44.png?dl=0 |
it was nginx mis-config which prevented js css caching, however I need to make sure Im using the hashing of the cookie correctly ? as I stated above to has the learn-press cookie ? as this plugin sets it for each guest! |
Hi
thanks a lot for ur template hope u continue work on it
I had this stats
https://www.dropbox.com/s/njmi3cbf4myrlkg/Screenshot%202017-05-15%2002.14.18.png?dl=0
https://www.dropbox.com/s/qgfplha8lmx513w/Screenshot%202017-05-15%2002.13.23.png?dl=0
but in Pingdom i get this header:
https://www.dropbox.com/s/gz3b8dprxreqoxc/Screenshot%202017-05-15%2002.21.56.png?dl=0
is this is because "co-cache" ? but it is on for most files, although I asked varnish to ignore the cookie that my WordPress sets for a guest
please help me
The text was updated successfully, but these errors were encountered: