Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/38.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript Typo3-如何在合并文件中包含所有CSS和JS文件_Javascript_Css_Merge_Typo3_Seo - Fatal编程技术网

Javascript Typo3-如何在合并文件中包含所有CSS和JS文件

Javascript Typo3-如何在合并文件中包含所有CSS和JS文件,javascript,css,merge,typo3,seo,Javascript,Css,Merge,Typo3,Seo,加载了多个js和css库(请参阅代码段) 基本上,这就是我现在拥有的: <link rel="stylesheet" type="text/css" href="/typo3temp/assets/compressed/7a1973f505-d75d99e70d86f83941cb8dde29be02ed.css" media="all"> <link rel="stylesheet" type="text/css" href="/typo3temp/assets/compre

加载了多个js和css库(请参阅代码段)

基本上,这就是我现在拥有的:

<link rel="stylesheet" type="text/css" href="/typo3temp/assets/compressed/7a1973f505-d75d99e70d86f83941cb8dde29be02ed.css" media="all">
<link rel="stylesheet" type="text/css" href="/typo3temp/assets/compressed/merged-4c85787f15040b42f80e9b8c12940eda-46385b6288d9ae801d3574a36a4f492d.css" media="all">


<script src="/typo3temp/assets/compressed/jquery-3.2.1.min-0e2a44e5d7960526ea22d19998a23651.js" type="text/javascript"></script>
<script src="/typo3temp/assets/compressed/merged-62fcf9b86d5d5537cbb754d505e7050c-e3f29e58f7f84473b47512d5d903396a.js" type="text/javascript"></script>

配置中是否有
excludeFromConcatenation=1
disableCompression=1

编辑:

打字脚本的页面配置中也有
includeJS
includeJSFooter
includeJSFooterlibs
includeJSLibs
,它们可能有所不同吗

php文件以某种方式将它们视为要连接的独立内容

我检查了我们公司的几个网站,他们只有一个文件,一个请求。所以页面配置一定有不同之处

此代码采用打字输入法:

page = PAGE
page.typeNum = 0
page {
   # set properties ... (lot of configuration code)
}

谢谢你的回复。不幸的是,事实并非如此。
config {

concatenateJs = 1
compressJs = 1
compressCss = 1
concatenateCss = 1
...
page = PAGE
page.typeNum = 0
page {
   # set properties ... (lot of configuration code)
}