Cache the filters / rules obtained from the database tables

KiamLaLuno - June 29, 2009 - 15:34
Project:Custom filter
Version:6.x-1.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:closed
Issue tags:6.x-1.0-beta3, 6.x-2.0-beta1
Description

Caching the result of the SQL queries performed will increase the performance of the code, which would not need anymore to execute a query that is likely to return the same result, until the user doesn't modify the filters / rules list.

#1

KiamLaLuno - July 1, 2009 - 03:28
Version:6.x-2.x-dev» 6.x-1.x-dev

The result of the SQL queries has been cached in a PHP static variable.
The code must be ported to the 6.x-1 branch.

#2

KiamLaLuno - July 1, 2009 - 03:40
Status:active» fixed

The code has been changed.

#3

KiamLaLuno - July 5, 2009 - 01:23
Issue tags:-beta3+6.x-2.x-beta3

#4

KiamLaLuno - July 5, 2009 - 01:28

#5

KiamLaLuno - July 5, 2009 - 20:27
Version:6.x-1.x-dev» 6.x-2.x-dev
Status:fixed» active

The code I implemented must be changed; I will use a real cache, and not a static PHP variable (the database table is already created by the installation code; it just needs to be used).

#6

KiamLaLuno - July 7, 2009 - 04:14
Version:6.x-2.x-dev» 6.x-1.x-dev
Status:active» patch (to be ported)

The code has been changed.

#7

KiamLaLuno - July 8, 2009 - 04:22
Status:patch (to be ported)» fixed
Issue tags:+6.x-1.0-beta3

#8

System Message - July 22, 2009 - 04:30
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.