Questions tagged [cache]

The tag has no usage guidance.

6 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
69 views

GDPR: How to stop smarty cache entries containing contact name being created?

Under templates_c, a lot of .php files are being created that contain things like the following: <?php /* Smarty version 2.6.30, created on 2018-04-27 00:20:41 compiled from string:...
2
votes
0answers
22 views

is it possible civicrm templates_c files to be stored under the server /tmp folder?

Has someone tried it? On a 1st try I've noticed extensions stop working. For example if I set define( 'CIVICRM_TEMPLATE_COMPILEDIR', '/tmp/civicrm/templates_c/'); would it work? (instead of ABSPATH.'...
1
vote
0answers
30 views

Setting CiviCRM to NoCache doesn't work

I'm having an issue whereby clearing Civi cache is the only way to make some fields visible on a Drupal 7 user profile. I've tried to debug the issue and it seems to be caused by anonymous users ...
1
vote
0answers
43 views

Civicrm on Drupal: broken JS and CSS or Asset Caching enabled

If I enable asset caching in CiviCRM everything works fine. If I disable it, the administration menu is gone from the top to a list that's beneath the page content and a lot of JS is broken too. The ...
1
vote
0answers
62 views

Class 'CachedCiviContainer' not found in Civi\Core\Container loadContainer()

I am using CiviCRM 5.9 and Drupal 7.56 hosted in the pantheon server. Yesterday, suddenly my site went down. I have checked with drupal error log, it is showing php error : Class '...
0
votes
0answers
17 views

Clear cache changes file permissions and causes errors

CiviCRM 4.7.31 WordPress 5.4.1 cPanel 86.0.21 Staging Site This is on a staging site. In previous versions I have created a staging site and cleared cache with no problems. I have not changed any ...