User Controls

Any experts on vcl here?

  1. #1
    Star Trek VI: The Undiscovered Country Dark Matter [my scoffingly uncritical tinning]
    PM me if so.

    This shit can be godawful.

    This is worth crypto-shekels to me.

    If you don't know what vcl is don't bother.
  2. #2
    Admin African Astronaut
    Varnish Configuration Language?
  3. #3
    vagina cleansing lotion.
    The following users say it would be alright if the author of this post didn't die in a fire!
  4. #4
    aldra JIDF Controlled Opposition
    Originally posted by Admin Varnish Configuration Language?

    did a bit of that when I was working with magento, didn't seem too complicated
  5. #5
    stl1 Cum Lickin' Fagit
    Very Clearly Lesbian
  6. #6
    Star Trek VI: The Undiscovered Country Dark Matter [my scoffingly uncritical tinning]
    Originally posted by aldra did a bit of that when I was working with magento, didn't seem too complicated

    It's not so bad, but the problem is I want to strip out most cookies and then redirect based on one specific cookie if the url isn't right.

    As well as that also got to work out a cache warming strategy, as the website is slower than you would believe.

    Be reading up on regular expressions tonight
  7. #7
    Grylls Cum Looking Faggot [abrade this vocal tread-softly]
    video conferencing?
  8. #8
    aldra JIDF Controlled Opposition
    Originally posted by Star Trek VI: The Undiscovered Country It's not so bad, but the problem is I want to strip out most cookies and then redirect based on one specific cookie if the url isn't right.

    As well as that also got to work out a cache warming strategy, as the website is slower than you would believe.

    Be reading up on regular expressions tonight

    I can probably help with regex if you need it
  9. #9
    Star Trek VI: The Undiscovered Country Dark Matter [my scoffingly uncritical tinning]
    OK got the vcl down. And I had to install nginx as a reverse proxy anyway to do https, so much of my time was wasted, but it's nice to get paid for learning a new skill.

    So the site is now fast as heck, and the cache refreshes itself every time a page is accessed (while serving from cache, so the end user is oblivious to the slow backend).

    Really happy with how the project turned out. It did take the best part of a month though.

    Next job is to hit the atrocious frontend. Oy vey.
  10. #10
    Star Trek VI: The Undiscovered Country Dark Matter [my scoffingly uncritical tinning]
    Site went live today. I was petrified, but everything worked out better than expected - even the SSL. Not even a second downtime.
  11. #11
    aldra JIDF Controlled Opposition
    looks like I'm getting into this because the web dev guy doesn't know anything about it and the contractors they hired are... limited

    I'd doubt Varnish would help in this circumstance (resources are limited enough as it is) but setting up Redis now
  12. #12
    Star Trek VI: The Undiscovered Country Dark Matter [my scoffingly uncritical tinning]
    Originally posted by aldra looks like I'm getting into this because the web dev guy doesn't know anything about it and the contractors they hired are… limited

    I'd doubt Varnish would help in this circumstance (resources are limited enough as it is) but setting up Redis now

    There really are some profoundly dumb fuckers working in IT and bluffing it as they go along.

    Varnish doesn't use much in the way of resources though.

    If you want to post up your use case we can probbly help.
  13. #13
    aldra JIDF Controlled Opposition
    the main thing is they have Magento set up on shared servers that already have contested resources and are too cheap to create dedicated instances. I've been trying to talk these guys into moving hosting to Azure or AWS for a number of reasons but again, too cheap. Even though in a lot of circumstances the price would be less than what we're currently paying for dedicated servers.


    I managed to speed things up significantly by using Redis and fine-tuning MySQL's Qcache, as well as adding a generic robots.txt file because there wasn't one already for some reason and the site was serving roughly 2x as much data to crawlers as to actual users. Qcache has been deprecated in the latest versions of MySQL though apparently because people often don't configure it properly and end up overloading the CPU. I'd like to move to PostGre but fuck taking responsibility for a project like that.
  14. #14
    Star Trek VI: The Undiscovered Country Dark Matter [my scoffingly uncritical tinning]
    I couldn't get redis working with the awful cms we use, and nothing I did with the dB (mariadb) made any difference whatsoever.
Jump to Top