Instale Varnish pero afecta el contador de visitas de Drupal con Cache
Saludos amigos..
Hace poco instalé Varnish en un sitio web, todo funcionó correctamente, pero el detalle es que ahora statics (estadísticas) no contabiliza fielmente las visitas a cada nodo. Por ejemplo, si antes tenía 100 visitas en una hora ahora se reduce a 20. Tengo el cache activado por Varnish en settings.php a 15 minutos. Espero alguna ayuda
gracias
Read morePHP via FCGI with PHP opcode and object caching
Hello all,
I am running (and developing) a site that runs on multiple (app) nodes behind a load balancer, and a separate database and storage server. Each node runs Apache (MPM worker) with FCGI, APC turned on. Drupal 7 based, with the APC module enabled, with most cache tables deferred to APC.
Read moreCaching AJAX results
A while ago I started working on an experimental module to cache the results of standard Drupal FAPI AJAX calls. An example use-case, you have form with a drop-down selector "country" and a second drop-down "city". The contents of the city selector are dependent on the selected country. So, when you change country, the list of relevant cities for that country gets loaded via AJAX. Now, that list is always the same (until a new city comes along or one gets renamed) so can feasibly be cached.
Read moreCache Warmer Customizations
Hi, we are using "cache_warmer" module to make HTTP requests to some (a lot of) pages
so BOOST cache files are created and our cache is always fresh and warm.
We use only the HUB PAGES file.
We are having problems trying to crawl pages in PARALLEL mode, but not in SINGLE mode.
-
Problem_1
In our site, we redirect all anonymous users to a Welcome page if they don't have a "saw_welcome" Cookie (which is set after visiting that page). -
Problem_2
We have some paths we want to crawl that use parameters in the URL like the following examples:
Configuration of Redis for Drupal 6
Hi,
Right now I use http://drupal.org/project/cache_backport + http://drupal.org/project/redis
In my settings.php I put:
$conf['cache_inc'] = 'sites/all/modules/cache_backport/cache.inc';
$conf['redis_client_interface'] = 'PhpRedis';
$conf['cache_backends'][] = 'sites/all/modules/redis/redis.autoload.inc';
$conf['cache_default_class'] = 'Redis_Cache';
$conf['cache_prefix'] = 'prt_';It is OK? Or I can make it better?
Thanks
Read moreMultisite or Domain Access?
Here is the structure of the site I'm setting up. One primary (or default) site with complicated functionality - ubercart, and a host of other feature-providing modules. Four or five child/additional sites with much simpler functionality and independent content. So far this would clearly call for a multisite setup.
Read moreBorrado automático de cache para que aparezcan notas publicadas
Hola amigos, tengo una consulta y agradeciendo de antemano la respuesta. Actualmente tengo mi sitio con memoria cache de una hora, debido a que tengo un excesivo número de usuarios conectados (300 aproximadamente) y mi rango de visitas aumentó. Todo marcha bien, pero cada vez que quiero que aparezca algún nodo que publico en el frontpage de mi sitio o en alguna views, tengo que borrar la memoria cache. Mi duda es:
-Hay algún módulo que permita el borrado de la memoria caché cada 5 minutos, por ejemplo??
-Que otra opción me recomiendan??
Gracias
Read morestoring a db table in memory
I have this custom module that creates a db in drupal, the data doesn't change very often and I do some db_query calls to it for some of the things being done on the site.
I know their is some db caching happening but is this table worth saving to memory or disk, what would you guys do in this situation to lighting the load since this table would be called quite often to get some data from?
Read moreMemcache or Redis for Drupal7 platforms? Or how to speed up registered users actions
Hi,
As i understand, D7 platforms have no built config for Redis & Memcached. Currenly 5.3 php has alredy memcached.so extension, so It is possible to somehow enable them (and not to ruin config, of course)?
Other related:
Also, had anyone luck with D7 and authcache? Is it worth to rebuild theme templates?
Entity cache - any benefit?...
As for anonymous users, everything just flies!
Read moreGetting some performance from BOA Drupal 7 platforms
Hi everyone,
Started to enjoy BOA (2.0.1 HEAD, with already 2 live sites on it). After pretty steep learning curve, still some of performance questions remain.
There are plenty of performance oriented services installed with Barracuda, such as php-fpm, nginx, redis, memcached etc.
I am talking just about Drupal 7 platform, the one, which is included and updated with Octopus. One of the cool features - symlinked modules to all included platforms. There are more performance oriented included with D6, but in D7 just few.
Ones I am interrested most are (probably in order of importance):




