willemk / varnish-mobiletranslate Goto Github PK
View Code? Open in Web Editor NEWTool to translate the latest mobile detect script into varnish
Tool to translate the latest mobile detect script into varnish
The doc says Varnish 3 is a requirement
. That statement seems outdated since Varnish 4 came out in 2014 and Varnish 5 came out in 2016. What's the compatibility situation?
There is a conversation in an existing issue about potentially combining this library with the official Varnish Device Detect repository: varnishcache/varnish-devicedetect#36 (comment)
Would you be open to joining forces with this repository since they both have the same goals?
Hello,
I was using this plugin for mobile detection through varnish. While i was using, i found that the wget link given in README is not the proper link and giving 404 error. I tried to fix and make a pull request but i dont have permission. So, if you can give me permission, i want to fix this and want to contribute. Let me know.
Thanks. :)
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.
Is there a way to easily identify feature phones? Do they naturally correspond to one of the "if" blocks or patterns in your VCL code?
(Sorry if this is the wrong place to ask questions. And thanks for actively maintaining this code!)
service varnish start
Starting Varnish Cache: [FAILED]
so tried
[root@server1 varnish]# varnishd -p pcre_match_limit=100000 -p pcre_match_limit_recursion=100000 -p thread_pool_stack=192k /etc/varnish/default.vcl Error:
Must be at least 16384
(attempting to set param thread_pool_stack to 192k)
[root@server1 varnish]# service varnish status
varnishd dead but pid file exists
Not sure why but I looks that fails against some user-agents like Android; Galaxy Nexus AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.8 Mobile Safari/537.22
Mostly all Galaxy nexus…
Using Varnish 4.0.3,
* << Session >> 1
- Begin sess 0 HTTP/1
- SessOpen 192.168.100.1 64826 :80 192.168.100.100 80 1430972215.861161 13
- Link req 2 rxreq
- VSL flush
- End synth
* << Session >> 32769
- Begin sess 0 HTTP/1
- SessOpen 192.168.100.1 64827 :80 192.168.100.100 80 1430972215.861235 21
- VSL flush
- End synth
* << Session >> 65537
- Begin sess 0 HTTP/1
- SessOpen 192.168.100.1 64828 :80 192.168.100.100 80 1430972215.861253 22
- VSL flush
- End synth
Log abandoned
Log reacquired
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.