-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optimize website. urgent #97
Comments
nice @tx4x! Not sure of we have root access to the server, i got ftp? Thanks for the offer but prefer to make it work at this hosting, as it should be solid and good... |
Yes latest files in this 2.3 branch (still need to merge) |
well sort of.. you also need to install a few crucial plugins. bbpress, buddypress, mycred and wpulike etc. Plus set some configurations to make sure its the same... And then there was something with the pins configuration @nzchicken? In short, its not super easy to setup a local environment.. |
@tx4x set the website locally is actualy quite complicated. As dave mentioned you need to install the plug-ins and also activate some fuctionnality in budypress settings (tick all the boxes) this will make most off the site work a part from forum and the pin for the map. The froum is a real pain to set up i never quite figure it out the right way. There is something with the prefix of all the forum '/community/forum' but i sill went into some issues. About the website beeing slow there is multiple ways to make it faster. I don't know much about memcad myself i always use wp super cache but i'm not sure about the compatibility with buddypreas and bbpress Also about the login stuff if they are stucked its probably cause there is errors could you check the root of the website if there is an .errorlog file wich could give us a start to look at the issue. I m in holliday at the moment for 3weeks without my laptop so i won't be able to help much right now. I will follow up on the topic and see what i can do when i get back. |
So did a bit more research in this area.. Was looking into a way to not load the script on every page but only on the once where its needed. In this case the donation page. Got me thinking whether it makes sense to exclude some heavy plugins on certain pages in general. This article show a way how to do this. Example for the contact form plugin |
Just a bit of knowledge to share about trying to run locally. I managed to at one point get this theme running locally, but the dependency on the plugins was a real pain. The current docker setup in the repo was almost working, however a couple of plugins changed which made it a bit harder to fix. The reason for not using the default wordpress docker image is due to a dependency on the mycred plugin to have the package libmcrypt-dev installed for (i think) ssl support. There was a reason but i'm trying to think about a year now. IMO it might be worthwhile trying to use the default wordpress docker image again. I was working on a script to install the site and plugins by calling the wp-cli docker image to do the default install, but got stuck on some more permission/docker problems which is just stuff i haven't worked on in a couple of years now. I might have another crack at it, as that would make contributing a whole bunch easier. The nature of this project is that anyone should be able to contribute, and thus making a low barrier of entry is important to helping people add more back 😄 |
Hello @tx4x @davehakkens, I got some spare time in the coming weeks any update about this topic ? |
cool! |
Hi, At least I know that WP is very powerfull but it could also be slow. So you can first try to remove useless plugins or use an other way to create the website (like developping it 😋). I'll try to take a look about why we can't register but whithout certainty of success. Edit: I succeeded register on linux using firefox, but not on windows using chrome. So it can be caused by windows or chrome. |
Yeh that makes sense @adrienluitot. registering is still a challenge for some users, no idea whats going on there... Feel like its time for a start-from-scratch version! |
It could be a solution yes (Personal question: Will you come in france soon ? 😄) |
I tested the website using google's speed testing tool Few points i can conclude with:
few sugessions:
|
we are running on PHP 7 |
How can you avoid to many request?The percentage of size used ,requests made on the homepage
Less dynamic content?
|
We are currently running the VPS One L from here: https://www.savvii.com/pricing/?noredirect=en_US |
@davehakkens is the new project based on opensource, or is it locked behind webflow? |
Not sure what you mean with this?
For some reason I think the hosting is not the issue, the company we host is quite pricey and uses proper technology. I'm up for switching but it's always quite a bit of hassle. We could gain a bit here, but I think its more the setup/theme/plugins that make everything slow.
Open source, here on Github. https://github.com/OneArmyWorld/onearmy |
@davehakkens thanks 👍 With the new platform being built, will the wordpress site be needed in the future? Is it worth moving contributors efforts towards the new platform build and replacing the existing wordpress site? Happy to put some time in here. |
@dalecreativ @catx23 |
We recently moved our website to a bigger (apparently faster) server, VPS 1 here However the website is gotten very slow + people complaining they are stuck at registering. :( Not sure why. Let me know if you guys see ways to fix this @nzchicken @MaloRchrd @tx4x
Either way the website could use some optimisations and fixes.
1: Removing errors from console..
2: Updating to PHP7 (worked on)
3: Cleaning up code
Anyone feels like helping out?
The text was updated successfully, but these errors were encountered: