Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive

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

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

SilverStripe loads slowly on localhost


Reply

3 Posts   1525 Views

Avatar
Juonio

27 March 2007 at 8:07pm (Last edited: 27 March 2007 8:13pm), Community Member, 1 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

Avatar
Sigurd

27 March 2007 at 9:59pm Forum Moderator, 628 Posts

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)

Avatar
Sam

28 March 2007 at 1:56pm Administrator, 679 Posts

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.