Quick configuration for JCH Optimize

Quick configuration for JCH Optimize

AS you know JCH Optimize is an extension that optimize your website and reduce loading time. For the first time maybe you need to know some important things about this addon. So let's take a look at tips :


1- In [Basic Options] tab you need to find best choice between Minimum and Optimum.
One strategy is to select Minimum first. Check the site. if there wasn't any problem goto next that is Intermediate and check the site again. Continue this until you see any malfunction. Then go back to previous option. You need to do this yourself because templates have different assets. If you be lucky, you can select Optimum.


2- You need to set appropriate value for Combined files delivery
Gzip is an important factor to reduce time loading. if you select static,it is necessary that add some rules in .htaccess file to enable it or active this feature in host panel (Cpanel do it as a piece of cake). Otherwise select PHP with query to PHP handle it. if you want to be sure that gzip is enable, you need to check your site by GTMetrix tools.


3- Set the order of JCH plugin
In the same tab you can see a button with name Order Plugin. Click it once to be sure plugin placed as the last item. Also you can clean the cache by next button. This button is useful because JCH will not store all overheads in default Joomla directory cache.


4- You can except some files from merging in [Exclude Options] tab
Sometimes there are files that should not be merged because they make problems. So you can say to JCH that ignore them from merging. But there is an important point here : if JCH does not show them in the list, you can type the name of file and then click on Add item button.


5- Don't miss Lazy Load in [Pro Features] tab !
This feature prevent images from loading if user screen has not reached to that part of page yet. In other word images load only if needed. Of course you can add exception by folder or image class. Also you can add effect to have a better view. Currently the only availble effect is fade out.


Certainly JCH has more options that may be tuned but in this article we mentioned only vital items. Others can be checked if you have more time! good luck.

How to make quick start in joomla?

How to make quick start in joomla?

In this article we want to suggest a simple way to make Quick Start package for Joomla without any 3rd party extension like Akeeba Backup. So this is the manual:


1 Make a copy of your website folder

2 Delete configuration.php file from project and also empty unnecessary folders like tmp,cache,logs

3 Copy installation folder from Joomla installation package to root of project

4 in installation\sql\mysql path there are two file with name "joomla.sql" and "sample_data.sql". we need to re-make these files so open phpMyAdmin and select your database, then click on [export] tab. now select Custom mode.

5 To make  new joomla.sql : 

5-1) Deselect Data column and be sure that all Structure be selected.

5-2) Select "Disable foreign key checks"

5-3) Select "Add DROP TABLE / VIEW / PROCEDURE / FUNCTION / EVENT / TRIGGER statement" and also "IF NOT EXISTS "

5-4) Click on Go button to make SQL file and move it in folder mysql (step 4) instead of joomla.sql


6 To make sample_data.sql :

6-1) Deselect Structure and select Data. Be sure that all Data rows be selected.

6-2) Select "Disable foreign key checks"

6-3) Select "Add DROP TABLE / VIEW / PROCEDURE / FUNCTION / EVENT / TRIGGER statement" and also "IF NOT EXISTS "

6-4) Click on Go button to make SQL file and move it in folder mysql (step 4) instead of sample_data.sql


7 In final step we need a tiny modification for both two new files. So open them in an editor like Notepad ++. Then replace all tables prefix to #__ (tables prefix is something like yau7q_) and save the files.

Now you have a Quick Start Package and can test it!


And 3 extra advices

1- If you intent to make a quick start please don't remove Joomla native templates like hathor or isis

2- If you have a component that locate files like images with absolute path, you need to change these paths to relative. Because user maybe install your package to a different path in his web server

3- Some tables like #_sessions can be empty before export to reduce size of sample_data.sql



Cron Job Starts