Jump to content

supprimer les caches expirés


Recommended Posts

Existe t il une solution native pour supprimer les fichier de caches expiré?

 

 

Notamment j'ai developpé un module avec une mise en cache de la facon suivante:

        $page_en_cour = $this->context->smarty->tpl_vars['page_name']->value;
        if($page_en_cour == 'category'){
            $cacheId = $this->getCacheId($this->name.'|category|'.Tools::getValue('id_category').'|'.date("Ymd"));
        } else {
            $cacheId = $this->getCacheId($this->name.'|index|'.$this->context->shop->id.'|'.date("Ymd"));
        }

Sachant que c'est un module perso peut être spécifique.

Auquel ca il me suffit developpé un cron.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...