Hot answers tagged

25

There are several steps you can take to increase server side performance. Do note that some of these will not work with most shared hosts. For great performance you usually need more fine grained control. As with any optimizations, you should measure the effect it has on your site's performance. For basic optimizations are tools like PageSpeed and YSlow ...


13

One BIG thing you can do to improve response times for your site is to update your module settings. Custom modules (using mod_custom) have an option to enable / disable the preparing of content. This allows you to run content plugins on the data content within your custom module. It's powerful when used properly, but it does add additional rendering time to ...


8

I assume that you have run your site through Google Page speed, and you are indeed looking at reducing the page response time i.e. time taken by your markup to be sent to the browser. The most likely culprits for these are heavy queries. Turn on the debug and look at the bottom of the page to find out which are the most heavy queries and remove or reduce ...


6

The things I know of that can help (most of which have been listed) are these: Caching Compression (gzip your css and js files) Combining files (all your css gets combined into one file) Offloading images and files onto a CDN. I've used a combination of the built in Joomla cache (or even APC enabled on the server) and plugins like gzip or rocket theme's ...


4

You will want to also look into reducing local assets and proper caching. One thing that you can do is use CDN plugins. Here are two I would recommend: 'corePHP' jomCDN - https://www.corephp.com/joomla-products/jomcdn NoNumbers CDN For Joomla! - http://www.nonumber.nl/extensions/cdnforjoomla Also if none of the above seem to resolve the issues you may ...


3

You also can use this code in your .htaccess file: RewriteEngine On RewriteCond %{HTTP_HOST} ^www.your domain [nocase] RewriteRule ^(.*) http://your domain/$1 [last,redirect=301] RewriteEngine on <ifmodule mod_deflate.c> AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/...


2

I have created more that hundreds of websites using Joomla! In most cases people think that Joomla is working heavily on the server, but according to the analizes done by me, the most important thing to keep your website FAST is to OPTIMIZE the IMAGES and JS/CSS. Don't use Joomla editors, like JCE, to just change the size of the image. Use image editors ...


2

I started to comment, but it became somewhat large for a comment, so I am posting it here: These access logs are meaningless - I guess that the resource usage warnings appear somewhere in the hosting panel, and it's not something the hosting support staff reported. If it's the latter then cooperate with them for the issue. if it's a message you get in ...


2

Some things to try: Check that the hosting environment meets the minimum requirements: https://docs.joomla.org/Technical_requirements Temporarily disable URL rewriting Temporarily disable the web.config file if you are hosting on Windows or temporarily disable the .htaccess file if you are hosting on Linux Set Error Reporting to Maximum to see if there is ...


1

This issue also exists in Gantry4 templates. Below is the fix for that: if (!class_exists('JDocumentRendererHead')) { require_once(JPATH_LIBRARIES.'/joomla/document/html/renderer/head.php'); }


1

The following only works if your hosting provider allows own php.ini files: 1) Go to Joomla root. 2) create you own php.ini (just create an empty txt-file and change the extension to "ini") 3) Add date.timezone = Pacific/Tahiti to the php.ini 4) Upload to the Joomla root 5) (optional, if needed by your server to work) Add this to the end of your ...


1

From your comments: I have several sites with his respectives folders hosted into the public_html root folder It looks like you want to host multiple sites in a single hosting account. Assuming your hosting provider allows it, you just need to add additional domains (addons) and set up a separate document root for each of them. You can ask your ...


1

The simplest way to achieve this is to setup your domain's root folder to be /public_html/joomla. This can easily be done with any add-on domain in a cPanel hosting environment. If you'll give more details of your server setup, I can provide more info on the proper steps.


1

Take a copy of /index.php and call it /user_id.php remove the last line: // Execute the application. $app->execute(); and put in this line: echo JFactory::getUser()->id; Note that you need to be logged in to Joomla and have an active session for this to echo out your ID. As for the JPATH_BASE, well you need to ensure that the real path you are ...


1

Improve Server/Web Hosting Plan Resources Maybe not the answer the OP was looking for but worth mentioning in case it's not obvious to everyone (and no other answers have mentioned this yet): improve server resources such as memory, CPU and disk speed. If you are using shared web hosting, upgrading from the "economy" plan to the "business" plan or another ...


1

Have you removed unused plugins? Joomla has to load and process every published plugin for events triggered in a request. You have to understand the extensions you've installed and how they interact with Joomla! Many extensions install plugins that manage content, system, or user activities to initiate code functions. Some of them may be superfluous. I ...


Only top voted, non community-wiki answers of a minimum length are eligible