feat(legacy): invalidate cached assets using md5sum (#2161)
* feat(legacy): invalidate cached assets using md5sum Don't rely on version to invalidate cached assets * use Assets::url() when loading legacy pages * fix script docs
This commit is contained in:
parent
1edcbc0657
commit
23578da4e2
24 changed files with 457 additions and 271 deletions
|
@ -20,8 +20,8 @@ class PlayouthistorytemplateController extends Zend_Controller_Action
|
|||
|
||||
Zend_Layout::getMvcInstance()->assign('parent_page', 'Analytics');
|
||||
|
||||
$this->view->headScript()->appendFile($baseUrl . 'js/airtime/playouthistory/template.js?' . $CC_CONFIG['airtime_version'], 'text/javascript');
|
||||
$this->view->headLink()->appendStylesheet($baseUrl . 'css/history_styles.css?' . $CC_CONFIG['airtime_version']);
|
||||
$this->view->headScript()->appendFile(Assets::url('js/airtime/playouthistory/template.js'), 'text/javascript');
|
||||
$this->view->headLink()->appendStylesheet(Assets::url('css/history_styles.css'));
|
||||
|
||||
$historyService = new Application_Service_HistoryService();
|
||||
$this->view->template_list = $historyService->getListItemTemplates();
|
||||
|
@ -36,8 +36,8 @@ class PlayouthistorytemplateController extends Zend_Controller_Action
|
|||
|
||||
Zend_Layout::getMvcInstance()->assign('parent_page', 'Analytics');
|
||||
|
||||
$this->view->headScript()->appendFile($baseUrl . 'js/airtime/playouthistory/configuretemplate.js?' . $CC_CONFIG['airtime_version'], 'text/javascript');
|
||||
$this->view->headLink()->appendStylesheet($baseUrl . 'css/history_styles.css?' . $CC_CONFIG['airtime_version']);
|
||||
$this->view->headScript()->appendFile(Assets::url('js/airtime/playouthistory/configuretemplate.js'), 'text/javascript');
|
||||
$this->view->headLink()->appendStylesheet(Assets::url('css/history_styles.css'));
|
||||
|
||||
try {
|
||||
$templateId = $this->_getParam('id');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue