5
votes
CSS Change won't apply - Where could the cache be?
Do you reach directly to the updated css file through your browser and you see the old css?
Or you just don't see the changes taking effect
on your site?
Some suggestions for both scenarios:
A. Do ...
5
votes
Accepted
Updating deprecated methods
JResponse::allowCache(false); replacement is
JFactory::getApplication()->allowCache(false);
To set key => value cache items:
// Get cache instance
$cache = JFactory::getCache();
// Store in ...
4
votes
Updating deprecated methods
Sorry to bump this older question but the accepted response isn't totally correct. Most everything in JResponse is replaced by a similarly named method call in JApplicationWeb instances (of which the ...
4
votes
Accepted
How do I use Joomla's built-in cache busting technique for scripts and stylesheets?
Yes, there is a built-in cache busting technique. If you use it, your HTML will look like this:
<script src="/media/path/foo/bar.js?32af2f62db6e60053132340acc9dfb3c" type="text/javascript"></...
4
votes
Accepted
Having to clear the cache even though caching is turned off?
I did a little more research and fixed this by editing the configuration.php file. Specifically, I changed the $cache_handler from 'file' to ''. I still don't know why this works, but can confirm that ...
4
votes
Accepted
How to force cache/browser data clearing in browser?
I have faced the very same problem many, many times. In the meantime I have learned that one can force browser to clear its cache only by versioning assets loading. So you need to find where your ...
4
votes
How to force cache/browser data clearing in browser?
You can use mediaVersion. There are a few ways to do that.
Look into those 2:
Manually adding version to loaded files:
$v = JFactory::getDocument()->getMediaVersion()
JHtml versioning of loaded ...
4
votes
Accepted
How to use cache calls in Joomla 4
The call method has been marked as removed for Joomla 4.0, as it's simply a wrapper for get().
You don't need to manually store the cache as this is done within the get() method:
https://github.com/...
3
votes
Accepted
CSS Change won't apply - Where could the cache be?
Some really cheap and oversold hosts tend to cache asset files (images, JS files, CSS files) for a long time. Check in a few hours to see if the file was updated.
If not, and assuming you cleared ...
3
votes
ZOO Cache extremely big - 170 GB and growing!
This is a problem with Zoo that everybody is complaining about. I think Zoo expects you to use Joomla cache, but you aren't, so it is regenerating the images on every refresh. Zoo's official answer to ...
3
votes
How to improve server response time?
You also can use this code in your .htaccess file:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.your domain [nocase]
RewriteRule ^(.*) http://your domain/$1 [last,redirect=301]
...
3
votes
Joomla cache handler only shows memcached
B9.png
First of all you should check the administrator/cache and /cache folders exist. Obviously file cache can't work without those folders. If they don't exist just create them and that may solve ...
3
votes
Website speed is awful
Ok, let's start from the beginning.
Firstly, you should be running Chrome's Lighthouse test to detect any performance related issues. In Chrome, press F12, then go to the Audit tab.
I ran an audit on ...
3
votes
Accepted
Caching items with different cache lifetime
Yes, you can cache your data for your plugin, by creating a new JCache instance and setting your custom options.
Something like below would do that:
// Reading global configuration params
$conf = ...
3
votes
Accepted
Site keeps browsing itself all the time
I do not see this as a Joomla issue (except the .htaccess file in Joomla root). From the small part of the log you provided in your question we can clearly read that the requests are made by ...
2
votes
Can't clear a cache of Joomla module
Perhaps your module has an override in the template used by the website. You can verify this in the template configuration page of the back-office. If that's the case, just delete the /templates/[...
2
votes
Accepted
Can't turn on cache in 3.4.4
I have solved this problem by using an output buffer wrapper around the whole Joomla installation.
Some background:
In this website we are using jSeblod, RSForm, JCHOptimize, Nonumber Joomla CDN and ...
2
votes
How to make redirections cacheable in Joomla?
You can use sh404sef extension to improve sef and perfomance of your site. Cache, 301 redirections, ...
http://extensions.joomla.org/extension/sh404sef
2
votes
How to make redirections cacheable in Joomla?
You can cache redirect via .htaccess example for redirect non-www to www
RewriteEngine on
RewriteCond %{HTTP_HOST} ^example.com [NC]
RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301]
R=301 mean ...
2
votes
Why am I not seeing current content in my frontend and backend?
Your problem is with browser caching. You should disable it in your .htaccess file and then you won't have to do any refresh. See this post on how to do that: http://www.itoctopus.com/how-to-disable-...
2
votes
Why do I have to clear browser cache to see backend changes?
We had a similar issue with a client before - you can find it here. The issue was resolved by creating an .htaccess file under the administrator folder, and then adding (to the .htaccess file) ...
2
votes
Accepted
ZOO Cache extremely big - 170 GB and growing!
Actually, it was an issue with ZooLanders ImagePro component, it was not updated and the site has been migrated from Joomla 2.5 to 3.x
Upgrading Zoolanders Framework did the trick
2
votes
Accepted
Joomla Template - site design not updating
The Demo Joomla sites are hosted by SiteGround and may have SiteGround dynamic cache enabled by default.
You could try temporarily disabling "System - jSGCache" in Extensions -> Plugins if this ...
2
votes
Component getList cache not loading/saving
In your component controller, check the display function:
public function display($cachable = false, $urlparams = false)
{
//...
parent::display($cachable, $safeurlparams);
return $...
2
votes
Accepted
Is there a way to clear the cache in the administration?
Yes, there is a way. It is called Cache Cleaner, extension from Regular Labs (ex-NoNumber).
With Cache Cleaner you can clean your cache fast and easily via a link in your Joomla! Administrator.
Not ...
2
votes
Accepted
Persistent problem with Joomla cache
Switch to conservative caching, progressive caching should be avoided. You will run into all sorts of issues because of progressive caching, including, but not limited to, memory issues and file ...
2
votes
How to force cache/browser data clearing in browser?
The only way to reliably bust the cache of client browsers is to change the name of the asset in question; forcing all browsers to download it.
2
votes
How to force cache/browser data clearing in browser?
You can use JCH Optimize to combine and optimize the delivering of all the script files - CSS and Java. Each combined file gets a new name, when you clear the cache in the plugin.
I always use the ...
2
votes
How to force cache/browser data clearing in browser?
Add the timestamp of the file as parameter so that the file will not be cached.
$mtime = filemtime('/path/to/script/script.js');
JFactory::getDocument()->addScript('/url/of/script/script.js?t='.$...
2
votes
Website speed is awful
Have you done already these basic checks?
1 - Enable Joomla Caching
This will already significantly boost your page loading times
Go to your plugins and open Page Cache plugin
Usually it shall be ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
cache × 73joomla-3.x × 36
joomla-2.5 × 8
component × 7
cache-handler × 6
performance × 5
php × 4
module × 4
plugin × 4
custom-component × 4
css × 4
joomla-3.4 × 3
templates × 3
server × 3
javascript × 2
joomla-api × 2
cms × 2
xml × 2
upgrade × 2
configuration × 2
global-configuration × 2
fatal-error × 2
security-token × 2
zoo × 2
server-response-time × 2