Page 1 of 1

Improve Cache of Joomla

Posted: Fri Nov 17, 2017 7:02 am
by p_il_musicante
Hi
This feature is very import because it improve the cache management of Joomla
I've propose the following code to modify the file /libraries/src/Cache/Cache.php

public static function getPlatformPrefix()
{
// No prefix when Global Config is set to no platfom specific prefix
if (!\JFactory::getConfig()->get('cache_platformprefix', '0'))
{
return '';
}

$detect = new Mobile_Detect;

// Any tablet device.
if( $detect->isTablet()
{
return 'T-';
}else if ($detect->isMobile() && !$detect->isTablet() )
{
return 'M-';
}


return '';
}

Is it posible Add this feature in the next release of Joomla or Add with core hack file in the actual release?

Re: Improve Cache of Joomla

Posted: Fri Nov 24, 2017 3:12 am
by leolam