2

I am new to EE and one of my sites is running very slow and tends to hang sometimes when users try to register or upload documents. What would be the cause of this? I have already enabled the gzip output setting in EE, but is there another way to free up memory of an EE website or any way I can resolve this?

  • it can be a lot reasons. By symptoms it is more possible that you just don't have good hosting. What hosting you use? VPS/Dedicated/shared? – Max Lazar Jun 2 '14 at 9:08
2

1) gzip output from EE will actually add slight overhead, better if you are on a virtual server to enable mod_deflate in apache, or use a hosting provider that offloads that to compression hardware to compress html, css, js. Much more optimal than having php do the compression.

2) Make sure you php 5.2, 5.3 or 5.4 you have something like APC bytecode caching enabled, or have php 5.5 which has its own bytecode caching will lower memory usage and increase performance.

3) Highly recommend not using EE's internal caching systems at all and use something like CE Cache which caches things in a much more optimal way.

  • re: 3). Even in EE 2.8+? – notacouch Jun 4 '14 at 1:06
  • 1
    All 2.8 did was add a new destination for the standard EE cached files but it did not make the caching any more intelligent. Example EE's page/template caching is URI based. So if you cache a template you use across your site say a header, right nav, etc. every URI on your site will create its own cache for that template at that URI. I am just about 100% sure that was not changed in EE 2.8+ This sums it up the best: causingeffect.com/software/expressionengine/ce-cache/user-guide/… - Global Vs. Non-global Caches – Nevin Lyne Jun 4 '14 at 15:52
  • Kudos. The global vs non-global is exactly what I needed to read. And CE is already compatible with the drivers EE just now added and then some. Wow. – notacouch Jun 4 '14 at 22:55
3

I was surprised to find that optimizing tables can help performance a lot, especially if you've got over ~ 75 queries on a page. Tools > Data > SQL Manager > Manage Database Tables. Then Select All and Optimize Tables.

1

Without seeing your template code it's only possible for us to guess. Typically though, EE performance problems are caused by one or several of items #1 #3 and #4 on this list:

http://www.jamessmith.co.uk/articles/expressionengine-beginners-guide

0

one of my sites was too running very slow, the problem came from the htaccess file.

I used the htaccess model from the EE doc, and the pages was loading in 8-10 seconds, I tried many other htaccess config, now it take less of one second.

To check if the problem come from of htaccess or not, rename your htaccess in htaccess_off, and try mysite/index.php/page in place of mysite/page. If the page goes faster with mysite/index.php/page, the problem come from de htaccess.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.