I'm working on a website that's a bit different than most - 100% of my users are registered. I need to somehow make the page cache work so that it will cache pages for registered users, which I know is not the normal behavior for Joomla!.
There doesn't appear to be much discussion on this throughout the web. I know what the concerns are with caching pages for registered users, but in this instance, it doesn't matter as they will all see the same content once they're logged in.
Does anyone know if I can hack the cache.php file at /plugins/system/cache/cache.php to force it to just cache everything? On line 62, I see
Code: Select all
if ($user->get('guest') && $_SERVER['REQUEST_METHOD'] == 'GET') {
$this->_cache->setCaching(true);
Code: Select all
$this->_cache->setCaching(true);