Commit
b15c4edda04cec7391361fb81b8436cfa255ad3d
Exists in
staging
and in
26 other branches
angular_poc, api-article-archived, api-homepage, api_visitor, article-readonly, caching-rails4, captcha_serpro_plugin, comment_paragraph_api, comments_api_reply, content-manager-hostspot, environment-api, export-comment-paragraph, fix_event_date_issue, fix_multitenancy, fix_profile_wall, fix_string_downcase_and_upcase, fix_upload_files_on_development_environment, json_cookie_serializer, login-captcha, master, new_security, new_video_plugin, pg_search_rank, production, resend_confirmation_email, tasks_keep_filter_params
Rest of the logic required for per-language cache
| @@ -183,3 +183,7 @@ sub vcl_recv { |
| @@ -183,3 +183,7 @@ sub vcl_recv { |
183
| vcl_rewrite_accept_language(sp); |
183
| vcl_rewrite_accept_language(sp); |
184
| }C |
184
| }C |
185
| } |
185
| } |
| |
186
| + |
| |
187
| +sub vcl_fetch { |
| |
188
| + set beresp.http.Vary = "X-Varnish-Accept-Language"; |
| |
189
| +} |