Hot answers tagged

9 votes
Accepted

How can I use Joomla's Cache with my components view?

So far Google-searches make me presume that joomla caches your component automatically if you add display(true,...) to your controller's display method as in following example. The example also ...
user avatar
  • 208
7 votes
Accepted

No notification to update to latest Joomla version

This is usually caused by the cache mechanisms in Joomla. It has nothing to do with the Joomla 2.5. eol. Clear Cache and purge expired cache from the maintenance menu, and also it usually helps if ...
user avatar
  • 19.5k
5 votes

Using JCache to clear a specific plugin's cached data

Without knowing which plugin(s) you're concerned with, here's some code that would get, set and clear a cache for a given item. $output = ''; $cache = JFactory::getCache('com_something', ''); $...
user avatar
  • 7,685
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 ...
user avatar
  • 3,208
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 ...
user avatar
  • 19.5k
4 votes

No notification to update to latest Joomla version

Go to the extension manager and select the update tab Click on purge cache Click on find updates Go to Control Panel. The joomla updater will now report an update available.
user avatar
4 votes

My content updates won't display instantly in the front-end. What's the reason?

In addition to my other answer, there can be a few other reasons that can cause a delay to what you see on the front-end of a website against your changes in the backend. Your computer. Starting from ...
user avatar
  • 19.5k
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 ...
user avatar
  • 1,600
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"></...
user avatar
  • 481
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 ...
user avatar
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 ...
user avatar
  • 3,017
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 ...
user avatar
  • 1,120
3 votes

Caching component output based on user state variables

You should pass to $urlparams an array where the keys are variable names and values are the corresponding filters of this variables. For example: $urlparams = array( 'catid' => 'INT', 'id' ...
user avatar
  • 4,045
3 votes

No notification to update to latest Joomla version

As far as I know, Joomla itself does not send out update notifications by email. My guess is that you have a third-party extension for this. Akeeba Backup used to send out update notifications, but I ...
user avatar
  • 1,178
3 votes
Accepted

Custom component no-cache setting

You didn't state what cache settings are producing this problem. Joomla has several cache levels https://docs.joomla.org/Cache. The most aggressive caching option is Page Caching (turned on via the ...
user avatar
  • 1,006
3 votes

My content updates won't display instantly in the front-end. What's the reason?

Usually this due to the Cache Mechanisms. In this wikipedia article you will see that caching is an important computing feature that is used widely. http://en.wikipedia.org/wiki/Cache_(computing) When ...
user avatar
  • 19.5k
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 ...
user avatar
  • 1,839
3 votes
Accepted

Offline site and facebook scraping

Facebook (and most other portals) does need access to your site to harvest the data. There is no workaround and it's besides the common privacy issues a good thing as it prevents Facebook from ...
user avatar
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] ...
user avatar
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 ...
user avatar
  • 3,186
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 ...
user avatar
  • 3,186
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 ...
user avatar
  • 26.5k
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 = ...
user avatar
  • 19.5k
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 ...
user avatar
  • 2,436
2 votes
Accepted

Turn off page caching on a single page

AFAIK you can't do that for core's cache plugin. However, there are a few options in the JED that will allow you doing exactly that: http://extensions.joomla.org/extensions/core-enhancements/...
user avatar
2 votes

Changes on a joomla site do not reflect on the front end

Check with your web host, they may be caching from the their end. I had that recently happen to me. When I had them remove their cache (which was on by default) I was able to see all of my changes in ...
user avatar
  • 49
2 votes

Changes on a joomla site do not reflect on the front end

There could be an issue with the date settings in your articles, make sure your dates are correctly set: Start Publishing: Any past date Finish Publishing: Empty, or any future date Created Date: Any ...
user avatar
  • 13.3k
2 votes

What server side caching can be used with Joomla 2.5.x?

There are various methods that can be used. Method 1: You can download and installing a caching Plugin. Personally, I like to use JCH Optimize. However, be very careful when using minimizing and ...
user avatar
  • 26.5k
2 votes

Using Joomla with redis

If you wanted to use Redis, I believe you would set it up on the server first (how you would install it would depend on the type of server you were running). Once completed, Redis would become ...
user avatar
  • 2,330
2 votes
Accepted

Safe Mode Restriction - what is this and how can I solve the issue?

It's not a chmod permissions issue, but an issue with your server. Hosting providers sometimes enable safe mode on shared hosting environments to prevent you from screwing up thing for other users on ...
user avatar
  • 26.5k

Only top scored, non community-wiki answers of a minimum length are eligible