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
|
@ -71,9 +71,7 @@ class ErrorController extends Zend_Controller_Action
|
|||
|
||||
private function setupCSS()
|
||||
{
|
||||
$CC_CONFIG = Config::getConfig();
|
||||
$staticBaseDir = Application_Common_OsPath::formatDirectoryWithDirectorySeparators($CC_CONFIG['staticBaseDir']);
|
||||
$this->view->headLink()->appendStylesheet($staticBaseDir . 'css/styles.css?' . $CC_CONFIG['airtime_version']);
|
||||
$this->view->headLink()->appendStylesheet(Assets::url('css/styles.css'));
|
||||
}
|
||||
|
||||
public function getLog()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue