Hi All
I am developing a custom theme for elgg 2.2. After I disabled simple and system cache in the developer plugin, the page loads extremely slow and sometimes takes up to 1 minute. As I can see from Chrome console, all the js and css files are trying to load from http://192.168.26.26/website/cache/0/default/ folder. I couldn't figure out why is this happening. Since it's just local development, I think there must be something wrong. BTW, I use linux server on a vagrant virtual box, but I don't think it's the problem with it. Anyone can give me some idea? Much appreciated.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
Have you checked error_log for anything suspicious? Set logging level to notice.
I use vagrant for my local development as well, and I ran into a major performance issue with it due to the shared folder configuration.
Potential solution documented for my own future reference: http://known.mattbeckett.me/2016/vagrant-performance-updates
@Steve @Matt I tried to add nfs:true to my vagrant settings as Matt's solution suggests and it worked!!! Now with the cache off the page loading time is down to about 13 seconds, which is a drastic improvement though still not to a satisfactory level. I also tried using MAMP and the same page loading time is 3 seconds. I guess it is just that Elgg doesn't play well with Vagrant?
- Previous
- 1
- 2
- Next
You must log in to post replies.