Path_alias_cache incompatible with Pressflow external caching mode?
pressflow and varnish work best together with external caching turned on, correct?
but External caching mode skips boot and exit hooks.
However, path_alias_cache uses hook_exit to set the paths into cache.
Are these two modes incompatible?
i.e. does varnish caching with external preclude path alias caching?
If not, any ideas what I'm missing? If so, anyone have a workaround?
Read moreDoes i18n Fail with Aggressive Caching?
If you're not a native English speaker doing Drupal, then the i18n module is probably the only way. This is why it seems very strange to me that the performance admin page says that i18n might not work with aggressive caching.
I find it hard to believe that multilingual drupal sites scale worst or harder than sites with one language.
scale worst/hard = scale without advanced caching
Is there anyone with experience using the i18n with aggressive caching?
Read moreProper way to make Cacherouter-APC, Boost work with Aegir (multisite in general) ?
Hi,
Playing with Aegir - it is a great tool, but want to make it on steroids: use boost Boost and Cacherouter+APC as an user object cache for all sites. I will not touch Varnish for now.
What is the proper way to make config that works? Problem is, that I am changing "platforms" on Aegir rapidly and moving "sites" between them often, but haven't found the way to configure them globally.
Thank you for your thoughts.
Read moreBlock caching and node_access: best practices for Drupal 6?
As we all know, block caching is very useful. However, on complex social/web 2.0 sites with a node_access module (like organic groups) block caching is disabled, because core doesn't allow block caching and a node access module running at the same time. While this is a weird architectural issue, I am wondering about best practices to deal with this on a drupal site with many authenticated users and a node_access module.
Take these questions for this situation:
Read moreCache thrashing solution - minimize cached urls?
I'm working on a unique problem right now with the relaunch of a high traffic site (2-5 million page views per day), and want to run an idea by the group. There is a specific singular landing page that will receive a significant amount of traffic from an external source, and each requested page would have a unique query parameter. Ex: /landing-page?uid=438474383487348?foo=bah.
Read moreCache Router patch
Hello, does anyone here currently use the D6 CacheRouter module on their site? If so, could you help test/refactor this patch (http://drupal.org/node/746610) to the CacheRouter module. The goal of the patch is to add a second layer of cache backup if your primary caching tier was unavailable. i.e you could have the Drupal db cache tables as a backup to memcache or apc, instead of defaulting to a "cache miss" scenario which could really hammer the database.
Read moredrupal_add_js and form caching
I have some jQuery code that acts on the core search form for my site (it hides the default text ('Search...') when you click/focus on the search field and shows it again (on blur) if you leave it blank). This code is in an external .js file. I have added this file to my site (using drupal_add_js) by placing it in my site's implementation of hook_form_FORM_ID_alter.
However, it seems form caching is causing problems with this - when I flush all caches the jQuery works fine, but when I reload or go to a new page, it stops working.
Read moreLooking for ideas for version 2.0 of Boost
Boost is nearing RC 3, and my estimate is the release after this will be 1.0. As such I'm looking for ideas for the next version, 2.0.
Read moreProject Mercury: PressFlow Drupal+Varnish AMI Alpha4 Release
Today I'm glad to announce the latest release in this line of AMI development. This update solves a number of issues and moves us one step closer to a sable beta release. The current AMI ID is ami-c353b2aa, and you can find this AMI by searching for "chapter3" or "mercury" in your AWS console.
For more background information about this project, see my initial g.d.o post and my blog post announcing the initial release.
Below you will find the notes for this release. Also in this post I will include a development roadmap, as well as some more explicit explanation of the techniques I'm using for making the AMI work out of the box.
Read moreProject Mercury: Pre-configured Drupal+Varnish AMI
Inspired by my own work over the past year with Amazon EC2 and this great post from Eric Hammond at Alestic on how to bundle public AMIs, today I released my first public machine image. I call the project "mercury," and the goal is to combine the power of Varnish and Pressflow Drupal in one easy-to-run package.
Why is this important? Because Varnish fills the same role as the Boost module, except it can handle 1000s of requests per second. Your constrained resources are going to be network and bandwidth. Getting it working well takes a bit of doing, but thanks to PressFlow and support from davidstrauss and DamZ, I've gotten a vanilla system working.
Read more