Dotclear

Vous n'êtes pas identifié(e).

Annonce

#1 2017-01-23 06:32:47

chris_h
Membre
Lieu : Port Orchard
Inscription : 2017-01-22

How to purge the cache?

Greetings all,
I'm just now evaluating Dotclear. So far I like it. But can't seem to find
any way to clear the cache, within the administration area. I'm attempting
some theme development, and it's difficult, to impossible to realize any
changes, if I can't clear the DC cache, before reloading the page. I somehow
expected to find a button somewhere, that would permit this. Have I just
missed it?

Thank you for all your time, and consideration.

--Chris

Hors ligne

#2 2017-01-23 06:52:04

Franck
Footer de merde
Lieu : Paris
Inscription : 2004-11-09
Site Web

Re : How to purge the cache?

Hi,

Two ways to do this:

1. Using the maintenance plugin (Left menu → Plugins → Maintenance), then choose the « Empty templates cache directory » in the Servicing tab. It will empty all of the template cache.

2. During theme development you may need (as I had some times) to delete only one of these cache files, or even retrieve the cache filename for a specific template file in order to check its content. Do to this, install the sysInfo plugin and select the « Compiled templates » in the combo box to display all of the template cache. You can then select one or multiple of these files to delete them.

(sysInfo plugin is avalaible here http://plugins.dotaddict.org/dc2/details/sysInfo)


Dotclear addicted since 2004

Hors ligne

#3 2017-01-23 14:25:15

chris_h
Membre
Lieu : Port Orchard
Inscription : 2017-01-22

Re : How to purge the cache?

Hello Franck, and thank you very much for your reply.

I think I'll take option 1. It just seems a little more intuitive. :)

IMHO the administration area should contain a

Cache:

() on () off () purge 

OK

If I were to create such an addition, do you think the Dotclear
developers would be at all interested in including it?

Thanks again, Franck!

--Chris

P.S. The Dotclear web site looks abandoned.
The bottom of the page indicates: Dotclear © 2003-2016
Shouldn't that be: Dotclear © 2003-2017?
Maybe a

Dotclear © 2003-<?php echo date('Y'); ?>

But I'm guessing you altready knew that. ;) ;)

Dernière modification par chris_h (2017-01-23 15:29:40)

Hors ligne

Vous n'êtes pas identifié(e).

Pied de page des forums

Sites map