Questions tagged [cache]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
47 views

Cache works for html view but not for xml output

I'm currently debugging (and trying to understand why) the caching for the html view is created, but not for the xml view. I read the Joomla! documentation article https://docs.joomla.org/J3.x:...
1
vote
2answers
82 views

Best way to clear a group's cache in Joomla via php, from an administrator plugin?

So background: I'm making a caching plugin that clears our site and CDN caches when content is saved in the administrator backend. In this instance, I want to clear the site cache for one group. My ...
2
votes
2answers
82 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
0answers
21 views

Modify the Expires Header

In the file: /html/joomla-usa/libraries/src/Application/WebApplication.php are the code: if (!$this->response->cachable) { // Expires in the past. $this->...
1
vote
3answers
100 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), ...
6
votes
4answers
3k 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 ...
1
vote
0answers
39 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. ...
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 "...
0
votes
0answers
22 views

Magically sections and positions getting lost or deleted

I have an issue on multiple pages, which I cannot explain myself. All pages have in common that they use gantry 5 based themes nearly the same plugins the magically disappearing section is <...
4
votes
0answers
49 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
324 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
56 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 ...
6
votes
3answers
495 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 ...
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 ...
2
votes
1answer
55 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
6answers
3k 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 ...
0
votes
1answer
332 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 (...
4
votes
1answer
329 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
103 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
33 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 ...
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 ...
3
votes
1answer
178 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 ...
2
votes
6answers
5k views

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

I got a a joomla-powered site. Recently I added an article to the back end, published it but it does not show up on the front end of the website. I went further to 'unpublish' some of the articles ...
0
votes
1answer
257 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 ...
5
votes
2answers
976 views

Rapid Ajax calls causing some MySQL queries to be ignored

I am currently working on a Joomla website on a Unix server. There are no users connected at the moment because I'm the only one who can access it (so no heavy traffic). During testing, I proceed to ...
2
votes
1answer
261 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 "...
5
votes
1answer
400 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
250 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 ...
8
votes
0answers
436 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
152 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
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
1answer
674 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
70 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
3answers
2k views

Joomla cache handler only shows memcached

My cache handler in Joomla! only shows 'memcached (experimental)', and not File etc. I was able to change the cache handler in my configuration.php but I'd still like to know why File is not shown as ...
1
vote
2answers
975 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
3k views

What is the Refresh Manifest Cache and why is it causing an error when upgrading Joomla?

When manually upgrading Joomla through the extensions manager, I get the following error: 500 error Installation unexpectedly terminated:Refresh Manifest Cache failed: Extension is not ...
2
votes
0answers
45 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
129 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
342 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). ...
17
votes
9answers
11k views

How to improve server response time?

What can I do, other than using a cache plugin like jotcache, to improve the server response time of my website? I have already removed all inactive articles modules, plugins and components, is there ...
1
vote
2answers
2k 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 ...
3
votes
1answer
76 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
3k 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
34 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 ...
3
votes
2answers
244 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.......
1
vote
1answer
490 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 ...
2
votes
2answers
87 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
348 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?
5
votes
2answers
254 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, ...