You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 7, 2021. It is now read-only.
If you want to serve different content and keep serving that content, you'll also need to add the vcl_hash function listed in the _Sample use case: Normalize the user-agent string for the backend_:
include "mobile_detect.vcl";
sub vcl_recv {
call devicedetect;
if (req.http.X-UA-Device) {
set req.http.User-Agent = req.http.X-UA-Device;
unset req.http.X-UA-Device;
}
}
Hi! I have multi site host and have a problem.
I used yours:
Sample use case: Normalize the user-agent string for the backend
It shows device correctly in logs, but serves same cache for both.
The text was updated successfully, but these errors were encountered: