cleaned the assets/dist folder, removed code splitting for font-ubunt and materialdesignicons
This commit is contained in:
@@ -160,6 +160,26 @@ function materiotheme_preprocess_html(&$vars) {
|
||||
);
|
||||
$vars['page']['#attached']['html_head'][] = [$tc, '$tc'];
|
||||
|
||||
// <meta http-equiv="pragma" content="no-cache" />
|
||||
$pragma = array(
|
||||
'#tag' => 'meta',
|
||||
'#attributes' => array(
|
||||
'http-equiv' => 'pragma',
|
||||
'content' => "no-cache"
|
||||
),
|
||||
);
|
||||
$vars['page']['#attached']['html_head'][] = [$pragma, '$pragma'];
|
||||
|
||||
// <meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate" />
|
||||
$cachecontrol = array(
|
||||
'#tag' => 'meta',
|
||||
'#attributes' => array(
|
||||
'http-equiv' => 'cache-control',
|
||||
'content' => "no-cache, no-store, must-revalidate"
|
||||
),
|
||||
);
|
||||
$vars['page']['#attached']['html_head'][] = [$cachecontrol, '$cachecontrol'];
|
||||
|
||||
}
|
||||
|
||||
function materiotheme_preprocess_page(&$vars){
|
||||
|
Reference in New Issue
Block a user