You are here

function advagg_set_file_data in Advanced CSS/JS Aggregation 6

Same name and namespace in other branches
  1. 7 advagg.module \advagg_set_file_data()

Set data about a file.

Parameters

$filename_md5: md5 of filename.

$data: data to store.

3 calls to advagg_set_file_data()
advagg_js_compress_test_compression in advagg_js_compress/advagg_js_compress.module
Run various theme functions so the cache is primed.
advagg_js_compress_test_file in advagg_js_compress/advagg_js_compress.module
Run various theme functions so the cache is primed.
advagg_update_6101 in ./advagg.install
Update 6101 - Move data column to cache table.

File

./advagg.module, line 1787
Advanced CSS/JS aggregation module

Code

function advagg_set_file_data($filename_md5, $data) {
  cache_set($filename_md5, $data, 'cache_advagg_files_data', CACHE_PERMANENT);
}