I know but I'm using a script that interacts with Magento libs and Magento is configured to use memcached... so I can't manage it directly at application level.
I can't configure magento differently only on that machine so I'm searching for a way to tell memcached locally (I don't have a cache server but each machine has its own daemon listening) to not cache at all. I know it's not a common way (may be not right too!) but this is the best way for my config. -V- -- ----------- Tafuni Vito [email protected] --------------------------------------------- "Verba volant, scripta manent... data corrupted" Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle persone indicate. La diffusione, copia o qualsiasi altra azione derivante dalla conoscenza di queste informazioni sono rigorosamente vietate. Qualora abbiate ricevuto questo documento per errore siete cortesemente pregati di darne immediata comunicazione al mittente e di provvedere alla sua distruzione, Grazie. *This e-mail and any attachments** is **confidential and may contain privileged information intended for the addressee(s) only. Dissemination, copying, printing or use by anybody else is unauthorised. If you are not the intended recipient, please delete this message and any attachments and advise the sender by return e-mail, Thanks.* *Rispetta l'ambiente. Non stampare questa mail se non รจ necessario.* 2014/1/10 Brian Moon <[email protected]> > Is there a way to serve always fresh content without stop memcached or >> flush? >> Starting the daemon with -m 0 don't seems to be a solution >> >> I need that some scripts (on the same machine) using memcached could >> access fresh data from db instead of cached. >> > > The best practice is to work this into your application code. We have > flags for functions or rules for when to use cache and when not to. Trying > to circumvent memcached at the daemon level so your application does not > use cache is the wrong solution IMO. > > Brian. > > > -- > > --- You received this message because you are subscribed to a topic in the > Google Groups "memcached" group. > To unsubscribe from this topic, visit https://groups.google.com/d/ > topic/memcached/XUU_daqP7Gw/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- --- You received this message because you are subscribed to the Google Groups "memcached" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
