Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #780065

    Hello,

    I used the theme Enfold several times. I find it very complete and have never encountered any problems with this one.
    Now, I have a client site consisting of an index page html which leads to two WordPress located in subfolders (/WP1/ and /WP2/). I am contacting you today because currently browsing from page to page is very unstable and can lead to download times up to 60s (time measured with pingdom.com). The WPs are version 4.7.3. And there is only one plugin enabled (Maintenance of fruitfulcode).

    Have you ever encountered such problems?
    Do you have any idea what may cause these delays?
    It is a site that has few visitors at present.
    Thank you in advance for your answer :)

    #780162

    Hey mika2000!

    Which is your server, so we can take a look.
    Provide us your URL so we can run some tests and try identify where the issue is located.

    Regards,
    Basilis

    #780421

    Hi Basilis,
    Thank you for your quick answer!

    The website is hosted at Gandi.net (Simple Hosting size M) : Server: Apache/2.4.25 – PHP 5.6 / MySQL 5.6 (Percona)
    https://www.gandi.net/hebergement/simple?language=php&db=mysql&grid=B

    The Url’s :
    http://www.comite-des-jumelages-londais.fr/ (a single html page)
    http://www.comite-des-jumelages-londais.fr/galbiate/ (1rst WP)
    http://www.comite-des-jumelages-londais.fr/walluf/ (2nd WP)

    I hope you could help me and tell what’s wrong :(
    Best Regards

    #780435

    hm this is not so bad : https://gtmetrix.com/reports/www.comite-des-jumelages-londais.fr/0FDPa9O9

    if you look on that link to the waterfall tab – there are nearly 2s of whole 3.6s response time ? on my server this is 600ms
    the rest seems to be more than o.k. and allthough you got big images the total size is only 645kb – that is a good value – the average is 2.6MB

    my advice is to use f.e. a minifier like Better WordPress Minify
    Sometimes there are some problems with layerslider scripts but there are solutions for that.
    On BWP Minify if you will use it set the cache time to 28days – otherwise the gtmetrix will nag on expires header time

    • This reply was modified 7 years, 7 months ago by Guenni007.
    #781200

    Hi Guenni007,

    The fact is that we use the same environment ( same server Apache, same php and MySql version, same theme : Enfold) and I don’t encounter the same slowness during the navigation on the other websites.
    Especially since the others have more visitors and more pages than this one.

    Concerning expires header time and I tried to put these following lines in the htaccess file of http://www.comite-des-jumelages-londais.fr/galbiate/ :

    <IfModule mod_expires.c>
    # Enable expirations
    ExpiresActive On
    # Default directive
    ExpiresDefault “access plus 1 month”
    # My favicon
    ExpiresByType image/x-icon “access plus 1 year”
    # Images
    ExpiresByType image/gif “access plus 1 month”
    ExpiresByType image/png “access plus 1 month”
    ExpiresByType image/jpg “access plus 1 month”
    ExpiresByType image/jpeg “access plus 1 month”
    # CSS
    ExpiresByType text/css “access plus 1 month”
    # Javascript
    ExpiresByType application/javascript “access plus 1 year”
    </IfModule>

    According to me this doesn’t change anything.
    Did I make a mistake ?

    Do you have any other action to suggest?
    Thanks for your answer…

    #781471

    these are my standard settings:

    # Deny from
    <files wp-config.php>
    order allow,deny
    deny from all
    </files>
    
     
    # Directory Browsing
    Options All -Indexes
    
    # Keep-Alive
    <ifModule mod_headers.c>
       Header set Connection keep-alive
    </ifModule>
     
    # Gzip
    <IfModule mod_mime.c>
        AddType application/javascript          js
        AddType application/vnd.ms-fontobject   eot
        AddType application/x-font-ttf          ttf ttc
        AddType font/opentype                   otf
        AddType application/x-font-woff         woff
        AddType application/x-woff              woff
        AddType image/svg+xml                   svg svgz 
        AddEncoding gzip                        svgz
    </Ifmodule>
     
    # GZip Kompression
    <IfModule mod_gzip.c>
     mod_gzip_on       Yes
     mod_gzip_dechunk  Yes
     mod_gzip_item_include file      \.(html?|txt|css|js|svg|php|pl)$
     mod_gzip_item_include handler   ^cgi-script$
     mod_gzip_item_include mime      ^text/.*
     mod_gzip_item_include mime      ^application/x-javascript.*
     mod_gzip_item_exclude mime      ^image/.*
     mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
    </IfModule>
    
     
    # Browsercache
    <IfModule mod_expires.c>
     ExpiresActive On
     ExpiresDefault "access plus 1 month"
     ExpiresByType text/css "access plus 1 month"
     ExpiresByType text/javascript "access plus 1 month"
     ExpiresByType text/html "access plus 1 month"
     ExpiresByType application/javascript "access plus 1 month"
     ExpiresByType application/x-javascript "access plus 1 month"
     ExpiresByType application/x-font-ttf "access plus 1 month"
     ExpiresByType application/x-font-woff "access plus 1 month"
     ExpiresByType application/x-woff "access plus 1 month"
     ExpiresByType application/xhtml-xml "access plus 600 seconds"
     ExpiresByType image/gif "access plus 1 month"
     ExpiresByType image/jpeg "access plus 1 month"
     ExpiresByType image/svg+xml "access plus 1 year"
     ExpiresByType image/svg "access plus 1 year“
     ExpiresByType image/png "access plus 1 month"
     ExpiresByType image/x-icon "access plus 1 month"
    </IfModule>
    
     
    # Deflate by FileType
    <IfModule mod_deflate.c>
     AddOutputFilterByType DEFLATE text/plain
     AddOutputFilterByType DEFLATE text/html
     AddOutputFilterByType DEFLATE text/xml
     AddOutputFilterByType DEFLATE text/css
     AddOutputFilterByType DEFLATE text/javascript
     AddOutputFilterByType DEFLATE image/svg+xml
     AddOutputFilterByType DEFLATE application/javascript
     AddOutputFilterByType DEFLATE application/xml
     AddOutputFilterByType DEFLATE application/xhtml+xml
     AddOutputFilterByType DEFLATE application/rss+xml
     AddOutputFilterByType DEFLATE application/atom_xml
     AddOutputFilterByType DEFLATE application/x-woff
     AddOutputFilterByType DEFLATE application/x-font-ttf
     AddOutputFilterByType DEFLATE application/x-font-woff
     AddOutputFilterByType DEFLATE application/javascript
     AddOutputFilterByType DEFLATE application/x-javascript
     AddOutputFilterByType DEFLATE application/x-shockwave-flash
    </IfModule>
     
    # ETag
    Header unset ETag
    FileETag None
    
    <FilesMatch "\.(ttf|otf|woff)$">
    <IfModule mod_headers.c>
    Header set Access-Control-Allow-Origin "*"
    </IfModule>
    </FilesMatch>

    be carefull not to overwrite the wordpress entries. between this :
    # BEGIN WordPress

    # END WordPress

    #781472

    which one was on your experience slower ?

    try to use better wordpress minify.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.