GK weather loading render speed
Easy to use and free Joomla module to display weather with forecast from Yahoo.
Rate this topic:
- GK User
- Thu Mar 20, 2014 7:03 am
Hi There,
I have noticed mod_weather_gk4 v1.6.7 is my slowest rendermodule.
Any suggestion or way to further optimize this extension?
This is with cache enabled
Conservative caching - enable
Joomla 2.5.17
mod_weather_gk4 - enable use cache with cache time as 60 mins
Application 0.935 seconds (+0.000); 32.47 MB (-0.085) - beforeRenderModule mod_weather_gk4
Application 1.346 seconds (+0.411); 33.02 MB (+0.549) - afterRenderModule mod_weather_gk4
I have noticed mod_weather_gk4 v1.6.7 is my slowest rendermodule.
Any suggestion or way to further optimize this extension?
This is with cache enabled
Conservative caching - enable
Joomla 2.5.17
mod_weather_gk4 - enable use cache with cache time as 60 mins
Application 0.935 seconds (+0.000); 32.47 MB (-0.085) - beforeRenderModule mod_weather_gk4
Application 1.346 seconds (+0.411); 33.02 MB (+0.549) - afterRenderModule mod_weather_gk4
-
- Senior Boarder
- GK User
- Thu Mar 20, 2014 10:33 am
If the cache is enabled and the files in /cache directory are writable there is probably no easy way to speed up the render time. Module don't use database connection so there is only PHP code. Please note that there is a lot of matches between weather state - icon but that's all. The cURL request may be time-consuming but when the cache is enabled the request should be one for 60 minutes.
-
- Platinum Boarder
- GK User
- Thu Mar 20, 2014 11:00 am
The difference is rather tiny when cache is enabled. Could there be something needs to be fix?
This is the result when global cache is disabled and all cache cleared.
Application 1.209 seconds (+0.001); 39.44 MB (-0.084) - beforeRenderModule mod_weather_gk4
Application 1.676 seconds (+0.467); 39.99 MB (+0.549) - afterRenderModule mod_weather_gk4
This is the result when global cache is disabled and all cache cleared.
Application 1.209 seconds (+0.001); 39.44 MB (-0.084) - beforeRenderModule mod_weather_gk4
Application 1.676 seconds (+0.467); 39.99 MB (+0.549) - afterRenderModule mod_weather_gk4
-
- Senior Boarder
- GK User
- Mon Mar 24, 2014 9:04 pm
The cache files are in module/cache directory are created properly? What is the modification date of this file?
-
- Platinum Boarder
- GK User
- Tue Mar 25, 2014 2:45 pm
The files are created and updated properly. Same date timestamp and within the cache period (60mins, defined by me)
mod_weather_gk4/cache/mod_weather.backup.bxml
mod_weather_gk4/cache/mod_weather.bxml
mod_weather_gk4/cache/mod_weather.backup.bxml
mod_weather_gk4/cache/mod_weather.bxml
-
- Senior Boarder
- GK User
- Wed Mar 26, 2014 8:53 pm
So I have no idea which may slow down the module rendering - maybe this icons to weather condition matching but this part that we can't skip.
-
- Platinum Boarder
- GK User
- Thu Mar 27, 2014 3:28 am
I have enabled the global cache by editing the module xml file. This cache the whole module.
At least for visitors (non login) site speed has improved.
At least for visitors (non login) site speed has improved.
-
- Senior Boarder
7 posts
• Page 1 of 1