2017 © Pedro Peláez
 

contao-module contao-database_cache

This module offers functionality for caching request results to database.

image

straightsoft/contao-database_cache

This module offers functionality for caching request results to database.

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 8 % Grown

The README.md

Contao Database Cache

This module offers functionality for caching arbitrary values to database., (*1)

Technical instructions

After activating the module and defining the maximum cache time in the contao settings, you can retrieve the result for a certain request by using the following code (of course, retrieved from cache if there's already a cached result which isn't outdated):, (*2)

if (($strValue = DatabaseCache::getValue($strKey)) !== false)
{
    $strResult = $strValue;
}
else
{
    // do some logic in order to create $strResult
    $strResult = someFunction();
    DatabaseCache::cacheValue($strKey, $strResult);
}

The Versions

01/12 2017

dev-master

9999999-dev https://github.com/straightsoft/contao-database_cache

This module offers functionality for caching request results to database.

  Sources   Download

LGPL-3.0+

The Requires

 

database cache request module db contao

01/12 2017

1.0.6

1.0.6.0 https://github.com/straightsoft/contao-database_cache

This module offers functionality for caching request results to database.

  Sources   Download

LGPL-3.0+

The Requires

 

database cache request module db contao

26/06 2017

1.0.5

1.0.5.0 https://github.com/straightsoft/contao-database_cache

This module offers functionality for caching request results to database.

  Sources   Download

LGPL-3.0+

The Requires

 

database cache request module db contao

25/06 2017

1.0.4

1.0.4.0 https://github.com/straightsoft/contao-database_cache

This module offers functionality for caching request results to database.

  Sources   Download

LGPL-3.0+

The Requires

 

database cache request module db contao

07/05 2017

1.0.3

1.0.3.0 https://bitbucket.org/straightsoft/contao-database_cache

This module offers functionality for caching request results to database.

  Sources   Download

LGPL-3.0+

The Requires

 

database cache request module db contao

07/05 2017

1.0.2

1.0.2.0 https://bitbucket.org/straightsoft/contao-database_cache

This module offers functionality for caching request results to database.

  Sources   Download

LGPL-3.0+

The Requires

 

database cache request module db contao

07/05 2017

1.0.1

1.0.1.0 https://bitbucket.org/straightsoft/contao-database_cache

This module offers functionality for caching request results to database.

  Sources   Download

LGPL-3.0+

The Requires

 

database cache request module db contao

07/05 2017

1.0.0

1.0.0.0 https://bitbucket.org/straightsoft/contao-database_cache

This module offers functionality for storing request results to database.

  Sources   Download

LGPL-3.0+

The Requires

 

database cache request module db contao