Ticket #40 (closed enhancement: worksforme)

Opened 2 years ago

Last modified 2 years ago

Feature request: The ability to exclude certain directory from caching

Reported by: martybel Assigned to: somebody
Priority: trivial Milestone: 1.0
Component: eAccelerator Version: 0.9.4
Keywords: disable directories filter Cc:

Description

We use eaccelerator on our platform which hosts a couple moderately high load sites. To be able to handle these loads we generate a lot of basically flat files. For one site this runs into a couple of thousand files (forum), which i preferably do not want to cache. I managed to get it working now by using the eaccelerator.filter setting, but i would really love to have the ability to exclude certain directories per vhost from the eaccelerator cache!

This would help us a lot, so if it's possible.. you'd be doing me a great favour!

Change History

04/03/06 12:57:19 changed by Stadler

You can disable/enable this per vHost. It may be possible to specify this in a <Directory "...">-section of apache, but I haven't tested that. If that isn't possible, I'd prefer to specify it there.

04/03/06 12:59:23 changed by Stadler

D'Oh. What I wanted to say, was: If it isn't possible already to specify eaccelerator.* in a <Directory "...">-section of the apache-config I suggest that :)

04/03/06 16:16:12 changed by bart

  • status changed from new to closed.
  • resolution set to worksforme.

Like stadler says, you can set it with the php_value (maybe you need php_admin_value). I don't know it from the top of my head. If php_value is possible then you can also use it form a .htaccess file. Otherwise you need to use <Directory> of <Location> directives in the apache config file.