Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » SilverStripe loads slowly on localhost

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 1468 Views
  • Juonio
    Avatar
    Community Member
    1 Post

    SilverStripe loads slowly on localhost Link to this post

    Hey!

    Just installed SilverStripe on my windows laptop with windows installer. I understood it should be quite fast. Still in my case admin page and in fact all CMS pages load really slowly. When I tried the online demo it loaded pages much faster. Is this because of my slow computer or because of some other problem? I tought localhost would react faster than online version.

    In addition SilverStripe wont load its own images like style buttons and such.

    Can anyone give me any advice? Thanks.

    Juho

  • Sigurd
    Avatar
    Forum Moderator
    628 Posts

    Re: SilverStripe loads slowly on localhost Link to this post

    The fact you're saying some images won't load is hinting something is wrong, and that its not your computer's processing power.

    Is this with 2.0.0 or 2.0.1rc2? (I'm assuing the former)

  • Sam
    Avatar
    Administrator
    679 Posts

    Re: SilverStripe loads slowly on localhost Link to this post

    We've had some reports of problems that can be worked around with a change to ManifestBuilder.php

    On line 27 of sapphire/core/MainfestBuilder.php, there is the following piece of code.

          return !file_exists(MANIFEST_FILE)
             || (filemtime(MANIFEST_FILE) < $lastEdited)
             || (filemtime(MANIFEST_FILE) < time() - 3600)
             || $_GET['buildmanifest'] || $_GET['flush'];

    Replace it with the following check.

          return !file_exists(MANIFEST_FILE)
             || $_GET['flush'];

    Let us know if that fixes your issue.

    1468 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.