Jump to:

522 Posts in 283 Topics by 224 members

Hosting Requirements

SilverStripe Forums » Hosting Requirements » Hi-Load Systems

What you need to consider when choosing a hosting provider and plan.

Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1364 Views
  • Tonyair
    Avatar
    Community Member
    81 Posts

    Hi-Load Systems Link to this post

    Let's combine all speeding up tricks for silverstripe and websites generaly.

    Mine:
    memcached for sessions,
    client side swf image resizing,
    turned off mod_rewrite (just set 404 page to sapphire/main.php it's faster),
    imagemagic server side image resizing,
    wget retriving remote data,
    xcache,
    analytics js-scripts sometimes is slow so server side analytics,
    minifing of HTML, JS, CSS,
    caching of everything that isn't changed,
    expire headers,
    subdomain for static content and ngix running on it (CDN and dedicated IP will be better),
    gzip compression,
    removing dev servers directive,
    combining css and js as much as possible

  • Ingo
    Avatar
    Forum Moderator
    787 Posts

    Re: Hi-Load Systems Link to this post

    Very interesting stuff Tony! Would you mind to elaborate a bit on what customizations you had to do in SilverStripe to get these various tuning aspects going? Specifically:

    > memcached for sessions,
    Transparent throug a PHP module, or customized in SS?

    > client side swf image resizing,
    First I'm hearing of it, do you have benchmarks?

    > caching of everything that isn't changed,
    > expire headers,
    Are you caching SS generated HTML responses? With Last-Modified headers, or just generic Expires header?

    > subdomain for static content and ngix running on it (CDN and dedicated IP will be better),
    Are you referencing all static content with absolute URLs, or did you bend SS to rewrite *.gif|png|jpg links somehow?

  • shizny8
    Avatar
    Community Member
    3 Posts

    Re: Hi-Load Systems Link to this post

    Hi, I'm having issues with setting up memcached in silverstripe. What other config file did you update and do you know how to get silverstripe to use memcached for the template cacheing... I'm still getting a lot of files written to silverstripe-cache directory?

    my _config has

    SS_Cache::add_backend('primary_memcached', 'Memcached', array('host' => 'localhost', 'port' => 11211, 'persistent' => true, 'weight' => 1, 'timeout' => 5, 'retry_interval' => 15, 'status' => true, 'failure_callback' => '' ) );

    SS_Cache::pick_backend('primary_memcached', 'any', 10);
    SS_Cache::pick_backend('default', 'aggregate', 20);

    1364 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.