Cms: Slow to create a new page via CP

Created on 6 Mar 2020  ·  10Comments  ·  Source: statamic/cms

I'm running Statamic on Laravel Valet and when I create a new page from within the control panel, it's generally taking a few seconds to do that.

There's nothing complex about the fieldset at this point, just a markdown content field.

can't recreate needs more info

Most helpful comment

@1stevengrant Would you happen to be using S3? After adding 'cache' => true to the S3 driver, my loading time has gone from 15-20 sec to 2-3 sec.

If so, make sure to composer require league/flysystem-cached-adapter

All 10 comments

Everything seems super fast to me here – can you think of anything else that might be a factor? Is this a brand new site, an upgrade from v2, or something?

it's a brand new site, latest Valet version and PHP 7.3.14 - other Statamic 2.x sites seem to be fine. I've run a composer update as well to make sure everything is latest and greatest.

Just creating pages? What about editing?

Editing seems to be the same actually. I very rarely use the CP myself for
editing but for ease of page creation I did.

Here's creating a page. I don't yet have a test server I'm deploying to. I
suspect something environment-related but not sure what it could be.

https://d.pr/i/O8EaZa

On Fri, 6 Mar 2020 at 15:29, Jason Varga notifications@github.com wrote:

Just creating pages? What about editing?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/statamic/cms/issues/1477?email_source=notifications&email_token=AAA3OWLDR6QF2UINY5KP2D3RGEJFJA5CNFSM4LC36KMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOBX3YQ#issuecomment-595820002,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAA3OWN5OOQ6CPXQFAFKAOTRGEJFJANCNFSM4LC36KMA
.

--
Steven Grant

Is it that slow with the developer toolbar closed?

I've also been having this issue. I get the same results with both Valet and Vagrant.

In my case, the content files themselves spawn/update right away, but the CP takes a long time to realize that the job has finished.

yeah, seems to be.

On Fri, 6 Mar 2020 at 15:37, Jason Varga notifications@github.com wrote:

Is it that slow with the developer toolbar closed?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/statamic/cms/issues/1477?email_source=notifications&email_token=AAA3OWOPNA7MF7UQ5ABLY3DRGEKFLA5CNFSM4LC36KMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOBY26Y#issuecomment-595823995,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAA3OWIGWGTWH27IUHGHHE3RGEKFLANCNFSM4LC36KMA
.

--
Steven Grant

@1stevengrant Would you happen to be using S3? After adding 'cache' => true to the S3 driver, my loading time has gone from 15-20 sec to 2-3 sec.

If so, make sure to composer require league/flysystem-cached-adapter

certainly has sped things up a bit 👍

@1stevengrant Would you feel that that's an acceptable solution? We can update the docs and close this issue if so :)

Was this page helpful?
0 / 5 - 0 ratings