slow loading menu

Permalink Browser Info Environment
I've got a slow load mega menu. It takes a half second or so after the content of the page to load for the menu to load.

do you have thoughts on what my slow down may be?

dev.bayleaf.org

thanks

Type: Pre-Sale
Status: In Progress
bayleafmedia
View Replies:
jb1 replied on at Permalink Reply
jb1
Hi,
The 2 most common causes of a slow loading menu is:
1) Other Javascript elements/code on the page are slow to load or process. The Mega Menu is deliberately designed to be hidden until the "on_page_load" event fires in the browser so it knows the page is fully loaded and gracefully displays with a fade-in effect. The reason for this is to hide submenu items which can display in a "jolted" way, and also re-calculate any other HTML element positions that will affect the layout of the menu.

2) There are a lot of pages on your site. It takes C5 a while to cycle through the list. Usually this is fixed by enabling the C5 cache. Once the page list has been loaded, it will be faster on subsequent loads (even with different website visitors).

I hope this helps.

JB
bayleafmedia replied on at Permalink Reply
bayleafmedia
Thanks jb, I'll investigate this

concrete5 Environment Information

# concrete5 Version
Core Version - 8.2.1
Version Installed - 8.2.1
Database Version - 20170802000000

# concrete5 Packages
Buttons Factory Pro (2.2), Fundamental (4.0.4), Magic Tabs (7.1.2), Mega Menu (1.6.2.2), Responsive Embed (1.0.1), Script Output (1.0), SVG Social Media Icons (0.9.9)

# concrete5 Overrides
None

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
Apache

# Server API
cgi-fcgi

# PHP Version
7.0.18

# PHP Extensions
bcmath, bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imap, intl, ionCube Loader, json, libxml, mbstring, mcrypt, mysqli, odbc, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, pspell, Reflection, session, SimpleXML, soap, sockets, SPL, sqlite3, standard, tidy, tokenizer, wddx, xml, xmlreader, xmlrpc, xmlwriter, xsl, zip, zlib

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 256M
post_max_size - 64M
sql.safe_mode - Off
upload_max_filesize - 64M
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
odbc.max_links - Unlimited
odbc.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
soap.wsdl_cache_limit - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.