Questions tagged [cache]
Use this tag when dealing with data that is being cached.
74 questions
0
votes
3
answers
38
views
How to version assets/images on the entire CMS?
Is there any way to force versioning of specific assets or media types (like .webp images) on all pages of the CMS? I'd imagine it'd be an extension or something that adds ?ver=xyz type of postfix to ...
1
vote
0
answers
167
views
How to change 'Response Headers "cache-control" '
I have got a site running on AWS using Cloudfront which is caching the site.
I've got browser and page cache enabled in Joomla.
However, when looking at the Response Headers, under cache control it's ...
1
vote
1
answer
67
views
Dev Tools Don't Show Cache-Control in Response Only no-cache (on Apache Server)
I have followed the tutorial to setup Browser Caching on My Droplet: https://www.digitalocean.com/community/tutorials/how-to-configure-apache-content-caching-on-ubuntu-14-04
What I want to accomplish ...
1
vote
0
answers
75
views
After updating Joomla 3.9 - Class 'Joomla\CMS\Cache\Cache' not found
I have updated Joomla to 3.9 and now I see this error every time I try to load the website:
Error: Class 'Joomla\CMS\Cache\Cache' not found: Class 'Joomla\CMS\Cache\Cache' not found
Error reporting ...
2
votes
1
answer
92
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
2
answers
350
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 ...
0
votes
0
answers
24
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
1
answer
172
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
2
answers
276
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 ...
1
vote
3
answers
806
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
1
answer
637
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
1
answer
660
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
1
answer
333
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
0
answers
36
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
1
answer
306
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
3
answers
724
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
1
answer
544
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
6
answers
5k
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
1
answer
623
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 ...
2
votes
2
answers
354
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
1
answer
542
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
0
answers
26
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
0
answers
181
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
1
answer
1k
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
1
answer
99
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
2
answers
2k
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
2
answers
184
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
2
answers
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
0
answers
50
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 ...
3
votes
1
answer
206
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
2
answers
414
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
2
answers
3k
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
4
answers
4k
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
0
answers
489
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
0
answers
46
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
1
answer
87
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 ...
1
vote
2
answers
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
0
answers
42
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
1
answer
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
1
answer
768
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
2
answers
303
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
2
answers
98
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
1
answer
479
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
1
answer
111
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
2
answers
429
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
2
answers
1k
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
1
answer
486
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
2
answers
550
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
2
answers
73
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
0
answers
69
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 ...