Tutorial

It is possible to speed up Dolphin by using Block Cache. You will need to have "Enable page blocks cache" ticked/checked, and "Page blocks cache engine" set to at least "File" cache in your Administration Panel.

These settings are located in:
Tools
-Cache
--Settings

They look something like this:

Cache Settings



Once you have Page Block Cache enabled you can install the "Profiler" module here:
Modules
-Add & Manage
--Profiler version X.X.X by Boonex

For more information about how to complete the necessary steps involved with the Profiler Module see this tutorial here:
Dolphin 7 How to install and use the Profiler Module

It's based on Dolphin 7.0.x. However, the installation, configuration, and set up process is the same for Dolphin 7.1.x.


Note:
Be sure to run a few tests before and after with the Profiler to see the difference.


If you have properly set up the Profiler Module you will see information about render time, memory used, what modules are being loaded on the particular page and more.

Expand the "Page Blocks" section and find the "cached" area. Obviously if it says no it means the particular block is not cached.

It might look like this:

Page Blocks Not Cached



As you can see none of the blocks are cached at the moment. The "Latest Articles" block took 0.60987 seconds to render. The "Blogs" took 0.17125 seconds to render, and the "Newsletter" block took 0.05655 seconds to render.

These are all on the main/homepage in this particular example.

Now we can set a time in seconds that we would like these blocks to be cached for. 3600 is one hour, and 86400 is 24hours/1-day.

So now in the Dolphin 7.1.x Administration Panel I will go to:
Builders
-Pages Builder

Then, select Homepage from the drop down to see the blocks on the Homepage.

You can then click on each of the blocks that you would like to have cached and enter how long you want them to be cached for. In this case, Latest Articles, Blogs, and Newsletter.

I will set each of them to 3600 (1 hour) of cache.

So I click on the Latest Articles block and change cache: 0 to cache: 3600 and save the changes.

1 Hour Block Cache



Then, I will repeat this for the Blogs and Newsletter blocks.

After I refresh the Homepage the "Latest Articles" now says cached with 0.00767 seconds. The "Blogs" says cached with 0.00765 seconds, and the "Newsletter" block says cached with 0.00756 seconds.

You will also notice when comparing the screenshots that the total time rendered dropped substantially.

Page Blocks Cached



Things to consider and be aware of when using block cache:

If content in a particular block changes frequently you may not want to keep the cache at 0 (none) or very low. Otherwise, the block will not update until the cache time you set expires and it is re-generated.

Some of the blocks can be a little buggy at least currently with early releases of Dolphin 7.1.x. You will want to double-check the particular page that you are adding block cache for afterwards. Sometimes certain blocks will display strange after enabling block cache. If so you can set the block back to 0 (none), and then clear your Administration cache.

It is hit and miss with block cache at the current time. Some of them work great, and others do not. Hopefully, as Dolphin 7.1.x progresses the page block cache feature will be improved and Boonex will work some of the bugs out.

This feature can speed up the page render time if you set it properly with working blocks.

You can also set block cache on other pages, not just your homepage. It does take some experimenting to find what works (blocks) and what doesn't.

 
Written By
Tutorial by: Jeremy LeSarge (AKA Ray)

I am the owner and administrator of DialMe.com. I write Tutorials for Boonex Dolphin as well as tips and resources surrounding website programming and development. I enjoy working with WordPress, SEO, and Web Hosting / Servers. I also maintain a WordPress Blog here on this site where you will find a variety of technology and webmaster resources.

Actions
Sponsored Links
Recommend