cache

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
slantview's picture

Tuning a high traffic Drupal 6 site

Here is my initial post about performance tuning our site http://www.divx.com/ This is mainly a place for me to brain dump and spark discussion and hopefully open up issues to track and get some of these fixes into Drupal core.

Servers

4 - Web servers with 8GB Memory each, Apache 2.2.x + PHP 5.2.x
2 - Memcache Servers with 8 GB Memory each. 9 bins per server
2 - Database Servers with 16GB each running MySQL 5.0.x

Traffic

Read more
ajayg's picture

Excessive cache_get time

I have noticed (I think) a strange thing. My cache_get times are excessive compared to rest of queries consistently. E.g on front page for logged in user I am seeing these numbers through devl module


203.92 1 cache_get SELECT data, created, headers, expire FROM main_cache WHERE cid = 'locale:mr'
172.59 1 cache_get SELECT data, created, headers, expire FROM main_cache_menu WHERE cid = '1:mr'
41.89 1 eval SELECT COUNT(uid) AS number FROM main_users WHERE status=1
25.56 1 drupal_lookup_path SELECT dst FROM main_url_alias WHERE src = 'front_page1'
.....
Read more
slantview's picture

First Cache Router release for Drupal 7

Hello Drupal world!

I released beta1 of the 7.x branch of Cache Router over the holiday. The new release passes all Core Cache Tests for APC, File, Database, eAccelerator, and Memcache. XCache is currently broken, and I'm working to get that engine working again as well.

Read more
ztyx's picture

Caching

Jag citerar från ett inlägg om Panels 2:

Panels skall INTE användas istället för att göra ett riktigt tema. Panels är resurskrävande. Att använda Panels i stället för ett riktigt tema är att be om att bli avstängd från ett webhotell eller att tvinga den egna servern ned på knä. Och framförallt så gör man ingen besökare glad.

Read more
Gerhard Killesreiter's picture

Talk about caching and performance in Szeged

Hi there,

I'll give a talk on caching and performance at Szeged:

http://szeged2008.drupalcon.org/program/sessions/caching-and-performance...

If there is any topic you are especially interested in and think I should cover it during the session, please leave a comment below.

Read more
ipwa's picture

Anyone could help with this issue?

There is an issue for the Support file cache related to the Zen theme here: http://drupal.org/node/234313. It seems that because the Zen theme doesn't have the _phptemplate_page function in the template.php, this might be happening. I found the _phptemplate_page function in the template-subtheme.php file. I tried adding the command they suggested right under it, but I would get errors like: Fatal error: Call to undefined function sf_cache_dispatch(). Can anyone please help solve this issue?

Read more
slantview's picture

New caching module for Drupal 6

So, some people have been asking about memcache for Drupal 6 and my personal modules have been neglected, but meanwhile I decided to come up with something new.

Let me introduce you to Cache Router. http://drupal.org/project/cacherouter

From the project page:

"CacheRouter is a caching system for Drupal allowing you to assign individual cache tables to specific cache technology. CacheRouter also utilizes the page_fast_cache part of Drupal in order to reduce the amount of resources needed for serving pages to anonymous users."

Read more
frank75's picture

Caching panels

Hi,
in my site i have used block cache with panels for caching tabs panel.
First i have created mini panels with tabs (last items,more view,more voted) for any contents (news,events...) .
After i have added this mini panels in panel page in home using the block cache version for caching it.

My ideas is of add cache capacibility for any type of contents in panels (view,block,nodes and custom contents) with the same options in block cache:

-cache per user
-cache per page
-cache time limit
-cache where a node is creatred,updated,deleted
-cache when login/logut

what you think?

Read more
soxofaan's picture

Captcha and page caching

As expected captcha does not play nice with page caching: the captcha system wants each form to have a different challenge. With the current implementation of captcha (and also my rewrite), when caching is enabled, each anonymous users gets the same challenge. Only the first user that requested the form will be able to successfully solve the captcha because the solution is in his session, all other users can't pass the captcha challenge.

Read more
Subscribe with RSS Syndicate content