Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [cache]

The tag has no usage guidance.

1
vote
2answers
71 views

How to clear hook cache

When I am changing a query or logic in my hook, I have to reinstall the entire module so then only the updated logic / code works in civicrm. Is there a settings to clear the cache or something I ...
4
votes
1answer
90 views

Is it possible in CiviCRM to change extension of cached php files from .php to something else (e.g. .php_ or .txt)?

Is it possible in CiviCRM to change extension of cached php files from .php to something else (e.g. .php_ or .txt)? Our host (WPEngine) does not allow guest users to write to php files on production ...
3
votes
0answers
54 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
17 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.'...