Slow initial load Topic is solved
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
-
- Joomla! Enthusiast
- Posts: 207
- Joined: Tue Sep 27, 2005 7:27 am
- Contact:
Slow initial load
I am having issue with slow initial load in J4.
Once I try to open site http://www.dev.livno-online.com I have to wait for several seconds for page to load.
After that page loads fast. But, after a few minutes it happens again. First load is slow and later on everything is fast. Same thing with administrator part.
I have turned off cache since the site is in development mode.
I have no errors or notices. Template is custom made.
On the same server I have older Joomla 3. It works without any problems and it has hughe amount of traffic and articles ( 40 000 items).
Once I try to open site http://www.dev.livno-online.com I have to wait for several seconds for page to load.
After that page loads fast. But, after a few minutes it happens again. First load is slow and later on everything is fast. Same thing with administrator part.
I have turned off cache since the site is in development mode.
I have no errors or notices. Template is custom made.
On the same server I have older Joomla 3. It works without any problems and it has hughe amount of traffic and articles ( 40 000 items).
-
- I've been banned!
- Posts: 13639
- Joined: Sun Jul 05, 2009 3:30 am
- Location: Canberra, Australia
Re: Slow initial load
Loads fine for me. Have you tried to access your website from a different device (e.g. a mobile phone) or through a different internet connection and/or browser? Try clearing your browser cache.
-
- Joomla! Enthusiast
- Posts: 207
- Joined: Tue Sep 27, 2005 7:27 am
- Contact:
Re: Slow initial load
I am using my mobile phone, tablet and of course PC. I did cache clean and did not help.
I am attaching debug info:
I am attaching debug info:
You do not have the required permissions to view the files attached to this post.
-
- I've been banned!
- Posts: 13639
- Joined: Sun Jul 05, 2009 3:30 am
- Location: Canberra, Australia
Re: Slow initial load
Thanks for that information. My previous comment was based only on the "user experience" and not on actual metrics. From the user perspective, the page load time is unnoticeable but, I agree, the detailed analysis of the metrics tells a different story. When I ran the browser "inspector" there are a lot of errors relating to things like "cross-site cookies" and "Uncaught ReferenceError" relating to "googletag" but I don't know much about these things that may help, sorry.
-
- Joomla! Enthusiast
- Posts: 207
- Joined: Tue Sep 27, 2005 7:27 am
- Contact:
Re: Slow initial load
I have removed all non-joomla related files (AdManager, Adsense, Facebook, FundingChoices scripts ...) and there are no errors now.
I will see what happens in next few hours.
I will see what happens in next few hours.
-
- Joomla! Enthusiast
- Posts: 207
- Joined: Tue Sep 27, 2005 7:27 am
- Contact:
Re: Slow initial load
This morning I did not have any issue with slow load. Only once but it could be slow internet connection.
I am posting FPA. As far as I see there are no issues. Perhapse MardiaDB.
I am posting FPA. As far as I see there are no issues. Perhapse MardiaDB.
Basic Environment :: wrote:Joomla! Instance :: Joomla! 4.0.3-Stable (Furaha) 12-September-2021
Joomla! Configured :: Yes | Writable (666) |
Configuration Options :: Offline: false | SEF: true | SEF Suffix: false | SEF ReWrite: true | .htaccess/web.config: Yes | GZip: false | Cache: false | CacheTime: 15 | CacheHandler: file | CachePlatformPrefix: false | FTP Layer: N/A | Proxy: false | LiveSite: | Session lifetime: 30 | Session handler: database | Shared sessions: false | SSL: 2 | Error Reporting: maximum | Site Debug: true | Language Debug: false | Default Access: 1 | Unicode Slugs: false | dbConnection Type: mysqli | PHP Supports J! 4.0.3: Yes | Database Supports J! 4.0.3: Yes | Database Credentials Present: Yes |
Host Configuration :: OS: Linux | OS Version: 3.10.0-962.3.2.lve1.5.31.el7.x86_64 | Technology: x86_64 | Web Server: Apache | Encoding: gzip, deflate, br | System TMP Writable: Yes | Free Disk Space : 5395.55 GiB |
PHP Configuration :: Version: 7.4.23 | PHP API: fpm-fcgi | Session Path Writable: Yes | Display Errors: | Error Reporting: 32759 | Log Errors To: /dhome/livnonli/logs/dev_livno-online_com.php.error.log | Last Known Error: 27th September 2021 11:58:19. | Register Globals: | Magic Quotes: | Safe Mode: | Allow url fopen: 1 | Open Base: | Uploads: 1 | Max. Upload Size: 16M | Max. POST Size: 64M | Max. Input Time: 60 | Max. Execution Time: 30 | Memory Limit: 256M
Database Configuration :: Version: 5.5.5-10.3.31-MariaDB (Client:mysqlnd 7.4.23) | Database Size: 13.41 MiB | #of Tables with config prefix: 69 | #of other Tables: 0 | User Privileges : GRANT SELECTUser Privileges : INSERTUser Privileges : UPDATEUser Privileges : DELETEUser Privileges : CREATEUser Privileges : DROPUser Privileges : REFERENCESUser Privileges : INDEXUser Privileges : ALTERUser Privileges : CREATE TEMPORARY TABLESUser Privileges : LOCK TABLESUser Privileges : CREATE ROUTINE ON `livnonli\_stable`.* TO `livnonli_zorro`@`localhost`
Detailed Environment :: wrote:PHP Extensions :: Core (7.4.23) | date (7.4.23) | libxml (7.4.23) | openssl (7.4.23) | pcre (7.4.23) | zlib (7.4.23) | filter (7.4.23) | hash (7.4.23) | pcntl (7.4.23) | Reflection (7.4.23) | SPL (7.4.23) | session (7.4.23) | standard (7.4.23) | cgi-fcgi (7.4.23) | bz2 (7.4.23) | ctype (7.4.23) | curl (7.4.23) | dba (7.4.23) | dom (20031129) | fileinfo (7.4.23) | ftp (7.4.23) | gd (7.4.23) | iconv (7.4.23) | intl (7.4.23) | json (7.4.23) | mbstring (7.4.23) | mysqlnd (mysqlnd 7.4.23) | PDO (7.4.23) | Phar (7.4.23) | posix (7.4.23) | SimpleXML (7.4.23) | soap (7.4.23) | sqlite3 (7.4.23) | tokenizer (7.4.23) | xml (7.4.23) | xmlwriter (7.4.23) | xsl (7.4.23) | zip (1.15.6) | mysqli (7.4.23) | pdo_mysql (7.4.23) | pdo_sqlite (7.4.23) | xmlreader (7.4.23) | redis (5.3.2) | memcache (4.0.2) | memcached (3.1.3) | ionCube Loader (10.4.5) | Zend OPcache (7.4.23) | Zend Engine (3.4.0) |
Potential Missing Extensions ::
Disabled Functions :: exec | passthru | shell_exec | system |
Switch User Environment :: PHP CGI: No | Server SU: No | PHP SU: No | Potential Ownership Issues: No
Folder Permissions :: wrote:Core Folders :: images/ (755) | components/ (755) | modules/ (755) | plugins/ (755) | language/ (755) | templates/ (755) | cache/ (755) | logs/ (---) | tmp/ (755) | administrator/components/ (755) | administrator/modules/ (755) | administrator/language/ (755) | administrator/templates/ (755) | administrator/logs/ (755) |
Elevated Permissions (First 10) ::
Database Information :: wrote:Database statistics :: Uptime: 3943995 | Threads: 156 | Questions: 3042456906 | Slow queries: 35162 | Opens: 29877706 | Flush tables: 441 | Open tables: 4000 | Queries per second avg: 771.415 |
Extensions Discovered :: wrote:Components :: Site ::
Core ::
3rd Party::
Components :: Admin ::
Core :: com_actionlogs (3.9.0) 1 | com_admin (4.0.0) 1 | com_ajax (4.0.0) 1 | com_associations (4.0.0) 1 | com_banners (4.0.0) 1 | com_cache (4.0.0) 1 | com_categories (4.0.0) 1 | com_checkin (4.0.0) 1 | com_config (4.0.0) 1 | com_content (4.0.0) 1 | com_contenthistory (4.0.0) 1 | com_cpanel (4.0.0) 1 | com_fields (4.0.0) 1 | com_finder (4.0.0) 1 | com_installer (4.0.0) 1 | com_joomlaupdate (4.0.2) 1 | com_languages (4.0.0) 1 | com_login (4.0.0) 1 | com_mails (4.0.0) 1 | com_media (3.0.0) 1 | com_menus (4.0.0) 1 | com_messages (4.0.0) 1 | com_modules (4.0.0) 1 | com_newsfeeds (4.0.0) 1 | com_plugins (4.0.0) 1 | com_postinstall (4.0.0) 1 | com_privacy (3.9.0) 1 | com_redirect (4.0.0) 1 | com_tags (4.0.0) 1 | com_templates (4.0.0) 1 | com_users (4.0.0) 1 | com_workflow (4.0.0) 1 | com_wrapper (4.0.0) 1 |
3rd Party::
Modules :: Site ::
Core :: mod_articles_archive (3.0.0) 1 | mod_articles_categories (3.0.0) 1 | mod_articles_category (3.0.0) 1 | mod_articles_latest (3.0.0) 1 | mod_articles_news (3.0.0) 1 | mod_articles_popular (3.0.0) 1 | mod_banners (3.0.0) 1 | mod_breadcrumbs (3.0.0) 1 | mod_custom (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_finder (3.0.0) 1 | mod_footer (3.0.0) 1 | mod_languages (3.5.0) 1 | mod_login (3.0.0) 1 | mod_lv_advert (4.0.0) 1 | mod_menu (3.0.0) 1 | mod_random_image (3.0.0) 1 | mod_related_items (3.0.0) 1 | mod_stats (3.0.0) 1 | mod_syndicate (3.0.0) 1 | mod_tags_popular (3.1.0) 1 | mod_tags_similar (3.1.0) 1 | mod_users_latest (3.0.0) 1 | mod_whosonline (3.0.0) 1 | mod_wrapper (3.0.0) 1 |
3rd Party:: mod_lv_articles_categories (4.0.0) 1 | mod_lv_articles_featured (4.0.0) 1 | mod_lv_articles_latest_popular (4.0.0) 1 | mod_lv_headlines (4.0.0) 1 |
Modules :: Admin ::
Core :: mod_custom (3.0.0) 1 | mod_feed (3.0.0) 1 | mod_frontend (4.0.0) 1 | mod_latest (3.0.0) 1 | mod_latestactions (3.9.0) 1 | mod_logged (3.0.0) 1 | mod_login (3.0.0) 1 | mod_loginsupport (4.0.0) 1 | mod_menu (3.0.0) 1 | mod_messages (4.0.0) 1 | mod_multilangstatus (3.0.0) 1 | mod_popular (3.0.0) 1 | mod_post_installation_messages (4.0.0) 1 | mod_privacy_dashboard (3.9.0) 1 | mod_privacy_status (4.0.0) 1 | mod_quickicon (3.0.0) 1 | mod_sampledata (3.8.0) 1 | mod_stats_admin (3.0.0) 1 | mod_submenu (3.0.0) 1 | mod_title (3.0.0) 1 | mod_toolbar (3.0.0) 1 | mod_user (4.0.0) 1 | mod_version (3.0.0) 1 |
3rd Party::
Libraries ::
Core ::
3rd Party::
Plugins ::
Core :: plg_actionlog_joomla (3.9.0) 1 | plg_api-authentication_basic (4.0.0) 0 | plg_api-authentication_token (4.0.0) 1 | plg_authentication_cookie (3.0.0) 1 | plg_authentication_joomla (3.0.0) 1 | plg_authentication_ldap (3.0.0) 0 | plg_behaviour_taggable (4.0.0) 1 | plg_behaviour_versionable (4.0.0) 1 | plg_captcha_recaptcha (3.4.0) 0 | plg_captcha_recaptcha_invisible (3. 0 | plg_content_confirmconsent (3.9.0) 0 | plg_content_emailcloak (3.0.0) 1 | plg_content_fields (3.7.0) 1 | plg_content_finder (3.0.0) 1 | plg_content_joomla (3.0.0) 1 | plg_content_loadmodule (3.0.0) 1 | plg_content_pagebreak (3.0.0) 1 | plg_content_pagenavigation (3.0.0) 1 | plg_content_vote (3.0.0) 0 | plg_editors-xtd_article (3.0.0) 1 | plg_editors-xtd_fields (3.7.0) 1 | plg_editors-xtd_image (3.0.0) 1 | plg_editors-xtd_menu (3.7.0) 1 | plg_editors-xtd_module (3.5.0) 1 | plg_editors-xtd_pagebreak (3.0.0) 1 | plg_editors-xtd_readmore (3.0.0) 1 | plg_extension_finder (4.0.0) 1 | plg_extension_joomla (3.0.0) 1 | plg_extension_namespacemap (4.0.0) 1 | plg_fields_calendar (3.7.0) 1 | plg_fields_checkboxes (3.7.0) 1 | plg_fields_color (3.7.0) 1 | plg_fields_editor (3.7.0) 1 | plg_fields_imagelist (3.7.0) 1 | plg_fields_integer (3.7.0) 1 | plg_fields_list (3.7.0) 1 | plg_fields_media (3.7.0) 1 | plg_fields_radio (3.7.0) 1 | plg_fields_sql (3.7.0) 1 | plg_fields_subform (4.0.0) 1 | plg_fields_text (3.7.0) 1 | plg_fields_textarea (3.7.0) 1 | plg_fields_url (3.7.0) 1 | plg_fields_user (3.7.0) 1 | plg_fields_usergrouplist (3.7.0) 1 | plg_filesystem_local (4.0.0) 1 | plg_finder_categories (3.0.0) 1 | plg_finder_contacts (3.0.0) 1 | plg_finder_content (3.0.0) 1 | plg_finder_newsfeeds (3.0.0) 1 | plg_finder_tags (3.0.0) 1 | plg_installer_folderinstaller (3.6.0) 1 | plg_installer_override (4.0.0) 1 | plg_installer_packageinstaller (3.6.0) 1 | plg_installer_urlinstaller (3.6.0) 1 | plg_installer_webinstaller (4.0.0) 1 | plg_media-action_crop (4.0.0) 1 | plg_media-action_resize (4.0.0) 1 | plg_media-action_rotate (4.0.0) 1 | plg_privacy_actionlogs (3.9.0) 1 | plg_privacy_consents (3.9.0) 1 | plg_privacy_content (3.9.0) 1 | plg_privacy_message (3.9.0) 1 | plg_privacy_user (3.9.0) 1 | plg_quickicon_downloadkey (4.0.0) 1 | plg_quickicon_extensionupdate (3.0.0) 1 | plg_quickicon_joomlaupdate (3.0.0) 1 | plg_quickicon_overridecheck (4.0.0) 1 | plg_quickicon_phpversioncheck (3.7.0) 1 | plg_quickicon_privacycheck (3.9.0) 1 | plg_sampledata_multilang (4.0.0) 1 | plg_system_accessibility (4.0.0) 0 | plg_system_actionlogs (3.9.0) 1 | plg_system_cache (3.0.0) 0 | plg_system_debug (3.0.0) 1 | plg_system_fields (3.7.0) 1 | plg_system_highlight (3.0.0) 1 | plg_system_httpheaders (4.0.0) 1 | plg_system_languagecode (3.0.0) 0 | plg_system_languagefilter (3.0.0) 0 | plg_system_log (3.0.0) 1 | plg_system_logout (3.0.0) 1 | plg_system_logrotation (3.9.0) 1 | plg_system_privacyconsent (3.9.0) 0 | plg_system_redirect (3.0.0) 0 | plg_system_remember (3.0.0) 1 | plg_system_sef (3.0.0) 1 | plg_system_sessiongc (3.8.6) 1 | plg_system_skipto (4.0.0) 1 | plg_system_stats (3.5.0) 0 | plg_system_updatenotification (3.5.0) 1 | plg_system_webauthn (4.0.0) 1 | plg_twofactorauth_totp (3.2.0) 1 | plg_twofactorauth_yubikey (3.2.0) 1 | plg_user_contactcreator (3.0.0) 0 | plg_user_joomla (3.0.0) 1 | plg_user_profile (3.0.0) 0 | plg_user_terms (3.9.0) 0 | plg_user_token (3.9.0) 1 | plg_webservices_banners (4.0.0) 1 | plg_webservices_config (4.0.0) 1 | plg_webservices_content (4.0.0) 1 | plg_webservices_installer (4.0.0) 1 | plg_webservices_languages (4.0.0) 1 | plg_webservices_menus (4.0.0) 1 | plg_webservices_messages (4.0.0) 1 | plg_webservices_modules (4.0.0) 1 | plg_webservices_newsfeeds (4.0.0) 1 | plg_webservices_plugins (4.0.0) 1 | plg_webservices_privacy (4.0.0) 1 | plg_webservices_redirect (4.0.0) 1 | plg_webservices_tags (4.0.0) 1 | plg_webservices_templates (4.0.0) 1 | plg_webservices_users (4.0.0) 1 | plg_workflow_featuring (4.0.0) 1 | plg_workflow_notification (4.0.0) 1 | plg_workflow_publishing (4.0.0) 1 |
3rd Party:: plg_editors_codemirror (5.62.2) 1 | plg_editors_tinymce (5.8.2) 1 |
[/quote]Templates Discovered :: wrote:Templates :: Site :: cassiopeia (1.0) 1 | lv_white (1.0) 1 |
Templates :: Admin :: atum (1.0) 1 |
- Per Yngve Berg
- Joomla! Master
- Posts: 30936
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: Slow initial load
1) Session handler: database. Change it to PHP (none) in Global Configuration
2) Your template have scripts that resize images. This is what contribute most to the loading time.
2) Your template have scripts that resize images. This is what contribute most to the loading time.
-
- Joomla! Enthusiast
- Posts: 207
- Joined: Tue Sep 27, 2005 7:27 am
- Contact:
Re: Slow initial load
Changing session handler improved speed.
Regarding script for resizing. Same script is used on my current live site and it works fine. Although I am thinking od using cdn but I am not familiar with setting one up.
Regarding script for resizing. Same script is used on my current live site and it works fine. Although I am thinking od using cdn but I am not familiar with setting one up.
-
- Joomla! Enthusiast
- Posts: 207
- Joined: Tue Sep 27, 2005 7:27 am
- Contact:
Re: Slow initial load
Onca again I had issue with slow initial load.
Now, I have set default theme to my site just to rule out template as a possible problem.
Now, I have set default theme to my site just to rule out template as a possible problem.
-
- Joomla! Enthusiast
- Posts: 207
- Joined: Tue Sep 27, 2005 7:27 am
- Contact:
Re: Slow initial load
Update on initial slow load.
Issue was with the server. My hosting provider informed me that after 30 minutes of inactive site (no vistitors to site) server releases RAM.
So if you visit site in 35.minutes server needs time to allocate RAM. That is way the load was slow.
Since I am in development phase I am ok wih that. On live site I have constant traffic so this will not be an issue.
Issue was with the server. My hosting provider informed me that after 30 minutes of inactive site (no vistitors to site) server releases RAM.
So if you visit site in 35.minutes server needs time to allocate RAM. That is way the load was slow.
Since I am in development phase I am ok wih that. On live site I have constant traffic so this will not be an issue.