Questions tagged [cache]

Use this tag when dealing with data that is being cached.

Filter by
Sorted by
Tagged with
4
votes
0answers
28 views

How can I clear the cache for the params of a custom component?

I am working on a custom component and it works as intended as long as I do not have cache enabled. In the admin section of the component, I have a view that can change the "component params": $...
1
vote
2answers
36 views

Joomla 3.9.X: Website speed on page speed

I have a site with joomla with a good template and excellent performance. The only problem remains the same: the speed for mobile on google pagespeed. On my site with joomla 3.9.x I have activated all ...
0
votes
0answers
15 views

Method start() and end() for cache has been removed in Joomla! 4

I have some older custom Joomla! code that I need to refactor for Joomla!4. The start() and end() methods that are used for caching have been removed in Joomla!4. How can I amend my code to maintain ...
1
vote
1answer
24 views

How to remove image from Joomla cache

I have to make changes to an image on an old Joomla site (V 3.7.4). Logging into the backend causes a server error 500. I've updated the image (which is located in templates/shaper_helix_ii/images), ...
2
votes
1answer
42 views

How to use cache calls in Joomla 4

From the documentation I use this part to store a large chunk of data if (empty($families)) { $cache = Factory::getCache(); $families = $cache->call( array( 'JFormFieldFamily', 'getFamilyList' ...
4
votes
1answer
189 views

Site keeps browsing itself all the time

I run the server where this Joomla! site is hosted, so I have root access to it. There is something in the configuration, or somewhere in its code, that keeps browsing the site itself. If I run # ...
1
vote
1answer
52 views

Can I set the directory that Joomla cache will store data in for my module?

Joomla has a nice "Clear Cache" page that lists cached content and lets you delete it. I'd like to allow cached content from my module to be deleted from there. I'm using Joomla's built-in cache ...
1
vote
0answers
32 views

Caching a page separately for users and guests?

I've written a custom component and I'm trying to improve its performance by including Joomla's caching. One view has additional detail which is only included for logged in users. I've been ...
3
votes
1answer
113 views

Caching items with different cache lifetime

I'm looking into using Joomla's caching mechanism for a plugin. However I would need to cache the plugin data for a given period of time irrespective of the site-wide cache settings. Is it possible ...
6
votes
3answers
328 views

Website speed is awful

I work as an apprentice web developer who has been left in charge of the web team (all of my colleagues have left) and have been left with an impossible task. We have a 10-core Windows server, with ...
0
votes
1answer
151 views

How to purge (clear) all cache files in Joomla 2.5?

Documentation provides code for clearing expired cache (https://docs.joomla.org/Purging_expired_cache_files): <?php /** * @package Joomla.Cli * * @copyright Copyright (C) 2005 - 2013 Open ...
4
votes
6answers
2k views

How to force cache/browser data clearing in browser?

Scenario: I have upgraded an old Joomla! website from 2.5 to the latest version of Joomla!. After doing so the site from my point of view looks as it should. If I try to access the site from another ...
5
votes
1answer
299 views

Persistent problem with Joomla cache

I have a Joomla site which has had persistent on-going problems with its cache. We are able to resolve these problems as they happen by going to the admin panel and clearing the caches, but would ...
1
vote
2answers
210 views

Having to clear the cache even though caching is turned off?

On on of the Joomla sites I manage, the Cache Settings in Global Configuration -> System is set to OFF - Caching is disabled. However, when we make changes to the articles, it is necessary to go to ...
2
votes
1answer
219 views

class 'JCache' does not have a method 'cleanCache'

According to https://docs.joomla.org/Using_caching_to_speed_up_your_code ,I must use $cache->cleanCache(); if I want to clear the joomla cache in my custom script. That function throws the error "...
1
vote
0answers
20 views

JToolbarHelper contents disappearing when cache is enabled

I've setup my custom component using JToolbarHelper for navigation, following the standard set by base Joomla components. Each view contains some variation of the following: JToolbarHelper::title(...
1
vote
0answers
141 views

Setting: Session lifetime and Cache time

Joomla 3.7.5 The default values of both are 15 minutes, which means I have to re-login very often. So I always change it to 60. But I have been aware since long time ago, that when they are set to 60,...
1
vote
1answer
531 views

Joomla 3.7.5 Disable Redis Cache

after updating the Joomla site (hosted on a server with php set to 7.0.18) from version 3.7.4 to version 3.7.5, I found the Radis cache set. I can not disable cache from global configuration, and any ...
3
votes
1answer
68 views

Component getList cache not loading/saving

I've built a custom component, and I'm trying to make it a bit faster, and while I was rooting through model core files I saw that their getItems() uses a caching to reduce DB queries: $store = $this-...
1
vote
2answers
699 views

Is there a way to clear the cache in the administration?

I made a change to an admin component, but it's not reflected immediately. Is there a way to make the admin cache refresh? I know with modules you can set cache to none, but this is a component so I ...
2
votes
2answers
68 views

Disabling cache on specific part of page from above comment

I am facing a problem in part of page of an extension on comments When cache is enabled, there is some json token error due to cache When cache is disabled, the user can easily post in comment Is ...
0
votes
2answers
2k views

Joomla 3.7 404 Component Not Found

I've just upgraded to Joomla 3.7 (from 3.5) and now I'm encountering issues after installing extensions & components. I receive a 404 Component not found error. I've tried with various extensions ...
2
votes
0answers
43 views

Change ZOO cache update frequency

Is there a way to modify the interval that the zoo cache updates thumbnails? OR disable it entirely? I have been sorting through the code and haven't found anyway yet. The problem I am running into ...
2
votes
1answer
108 views

Custom cache for module

I've made a module that needs to cache its output by country, or not at all. I've found this post which describes how to do it with a component, but how would you do it with modules? To turn off ...
1
vote
2answers
247 views

Can't edit my module, blank page with an select input

This is probably a difficult question to ask because I can't give a lot of information. When I open the edit screen in the admin-side of a module, it's being shown for a split second and then the page ...
1
vote
2answers
1k views

Joomla Template - site design not updating

I am new to using Joomla, I have a temporary hosting account on Demojoomla. I have installed a template called Helix When I go to Extensions > Templates > Styles I can click on my template and ...
6
votes
3answers
2k views

CSS Change won't apply - Where could the cache be?

I've encountered a strange problem that I've never seen before. I edited a CSS file and uploaded it to my server. From my hosting's file manager, I can see the file is updated. But in my local ...
8
votes
0answers
413 views

Reverse Caching Support using nginx

How can I implement Reverse Caching Support using nginx mentioned in Joomla 3.6 features? Joomla! 3.6 now supports reverse caching proxies like Varnish or an NGINX caching proxy. These help to ...
1
vote
0answers
35 views

How does com_contact caching work when it has a form token?

I've been looking into conservative caching recently and felt I'd got my head around it. However, when I added it to a site, I was surprised to see that the core component com_content caches forms. ...
3
votes
1answer
71 views

Caching a component's view for less than a minute

I have a component which has a feed. This feed updates constantly, pulling information from external sources. To reduce pressure on my server at high traffic periods, I want to give the generated feed ...
0
votes
2answers
2k views

Error displaying the error page: The file Cache Storage is not supported on this platform.: The file Cache Storage is not supported on this platform

I have installed Joomla 3.6 in ubuntu 16.4. but after installation of Joomla, I see the following error: Error displaying the error page: The file Cache Storage is not supported on this platform.: ...
0
votes
0answers
33 views

Some pages are randomly served as XML/feed and not as HTML

I'm having this random issue: In some pages (not always the same, and without a readable pattern), the pages are served as XML/feed and not as HTML. What I've found out is that the correct <meta ...
0
votes
1answer
1k views

HTTP ERROR 500 when loading com_cache

Recently, my joomla's website has been showing 500 server error every time I open the cache manager as described below: In Browser's Console: Failed to load resource: the server responded with a ...
1
vote
1answer
404 views

Why do I have to clear browser cache to see backend changes?

This question is related with Change on the back-end takes 30 mins or longer to show on front-end, what could possible be the cause? When I asked the above question I couldn't see any changes on ...
3
votes
2answers
212 views

ZOO Cache extremely big - 170 GB and growing!

I have set up a site for a customer. The site uses both Zoo and Widgetkit, many products, services and news pages have some Widgetkit slideshow in them. There are "quite a few" pages and images.......
2
votes
2answers
84 views

How to make redirections cacheable in Joomla?

I am confused. To speed up page load times for visitors of your site, remove as many landing page redirections as possible, and make any required redirections cacheable if possible. Does any ...
4
votes
1answer
316 views

How do I use Joomla's built-in cache busting technique for scripts and stylesheets?

JHtml::script and JHtml::stylesheet have a cache busting technique that doesn't seem to be documented clearly. How do I go about using it?
1
vote
1answer
103 views

Why am I not seeing current content in my frontend and backend?

I am using a templated Joomla3 system (Joomla version 3.4.8) and have one problem that's causing disfunctionality to the whole site. The problem persists in the backend as well as on the frontend. I ...
5
votes
2answers
235 views

Updating deprecated methods

I'm updating an old bit of custom Joomla plugin, and there's a deprecated line saying JResponse::allowCache(false); -- what's the "right" way to handle this for Joomla 3.x compatibility? Also, ...
1
vote
2answers
776 views

Disable Gantry caching

I have a site using RocketTheme free template, and it`s using Gantry framework. Now Ι need to add a page with some PHP code, so using Sourcerer I made a simple page using com_content and including my ...
0
votes
1answer
279 views

Can't clear a cache of Joomla module

I created some Joomla module for my client and he installed it in his backend. After a while I made some edits in the module and my client reinstalled it but my edits don't apply on his website (...
7
votes
2answers
479 views

Can't turn on cache in 3.4.4

I have a complex install of Joomla 3.4.4 with jSeblod and many other extensions. We are planning to use Varnish4 in front of the web server and because of that need to turn on proper Cache-Control ...
0
votes
2answers
67 views

After updating content some computers see new version but some old at the same time

I don't know why. Different browsers, computers and internet providers - some show current version of text on my page and some show old content. Site is dreamvisa.by. Version of Joomla is 2.5.27. We ...
0
votes
0answers
60 views

Joomla creates folders inside cache with 640 permission

I have Joomla! 2.5.18 and when I clean cache are either folders inside /cache newly created or overwritten with permission from 755 to 640. Why is that happening? I've checked through the files ...
0
votes
1answer
209 views

Mobile menu not working

I have got caching turned on for this website: http://storm.agency/ But I am not caching the nav module, also cleared any cache but the mobile menu is not dropping down when viewing the site on a ...
2
votes
1answer
1k views

Invalid Token - Login Issue

Joomla 3.4.1 I was hoping somebody could briefly explain this for me. I am not that familiar with tokens, sessions or cache. My site was working fine with no issues however I decided to enable the "...
1
vote
1answer
421 views

Caching component output based on user state variables

I'm having some issues with caching my component output as the user state variables seem to be ignored. I've added them to my controller as follows which works fine when submitting the filter form on ...
1
vote
2answers
323 views

Permission error after updating plugin

I have installed a plugin "Script Merge" after I edit the configuration for the plugin Joomla throws the following error: You are not permitted to use that link to directly access that page (#820). ...
2
votes
1answer
2k views

Using Joomla with redis

I searched a lot about the subject but I didn't find any good resource, I'm new to server caching technology (redis, memcache,,,etc.) can anyone advice about good server caching and how to use it with ...
0
votes
1answer
157 views

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

I get this error appear on my website Warning: file_put_contents(): SAFE MODE Restriction in effect. The script whose uid is 10072 is not allowed to access /var/www/vhosts/pizzaholicheaton.co.uk/...