On 02.04.2013, 20:16 Mark wrote:
I've been pondering a bit about the two options
for serving mobile
ResourceLoader requests with Varnish: on the bits caches or on the
mobile caches. I don't fully like either option to be honest. On one
hand I'd like to keep mobile device detection off our currently very
efficient bits caches, on the other hand I don't like the idea of
mixing in the RL requests into the high churn of mobile request LRU
cache eviction of the frontend caches. Unfortunately Varnish
currently doesn't allow us to separate/specify cache backends for objects well.
So let's go with Asher's suggestion indeed,
and add the device
detection to the bits servers. Let's keep it such that it'll always
be easy to distinguish these requests, so we can easily decide to
move these to another Varnish cluster at any point.
The puppet changes for this are at
https://gerrit.wikimedia.org/r/#/c/56774/
Anything else needed?
--
Best regards,
Max Semenik ([[User:MaxSem]])