Opened 9 years ago
Closed 9 years ago
#13497 closed Bug (invalid)
multiple contents.css loaded for multiple instance (v4.5.1)
Reported by: | Carlos Cuesta Iglesias | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Performance | Version: | |
Keywords: | Cc: |
Description
Hello:
It is already documented and closed but the error persists in this release. Steps to reproduce the error:
1) Run: <!DOCTYPE html> <html>
<head>
<title>Prueba CKEditor</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<script type="text/javascript" src="../XXXXXX/jquery-2.1.3.min.js"></script> <script src="../XXXXXX/ckeditor.js"></script>
<script type="text/javascript">
$(function () {
var arrayTxtArea = ["txta1", "txta2", "txta3", "txta4"]; var total = arrayTxtArea.length; for (var i = 0; i < total; i++) {
CKEDITOR.replace(arrayTxtArea[i]);
}
});
</script>
</head> <body>
<textarea id="txta1" name="txta1"></textarea> <textarea id="txta2" name="txta2"></textarea> <textarea id="txta3" name="txta3"></textarea> <textarea id="txta4" name="txta4"></textarea>
</body>
</html>
2) See debug output:
http://localhost/XXXXX/ckeditor/contents.css [HTTP/1.1 200 OK 15ms] http://localhost/XXXXX/ckeditor/contents.css [HTTP/1.1 200 OK 8ms] http://localhost/XXXXX/ckeditor/contents.css [HTTP/1.1 200 OK 8ms] http://localhost/XXXXX/ckeditor/contents.css [HTTP/1.1 200 OK 8ms]
Thank You,
Carlos Universidad de Caldas - Colombia
Attachments (2)
Change History (5)
comment:1 follow-up: 2 Changed 9 years ago by
Component: | Core : Styles → Performance |
---|---|
Keywords: | Contents.css removed |
Status: | new → pending |
Version: | 4.5.1 |
comment:2 Changed 9 years ago by
Hi:
This only takes a few minutes. Please try to see what happens with the code sent.
Thank you very much!
comment:3 Changed 9 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
I tried. And as I said - it's loaded once. I've checked on many browsers.
p@m ~> tail -1000 /var/log/apache2/access_log | grep contents.css ::1 - - [03/Jul/2015:14:45:06 +0200] "GET /ckeditor-releases/contents.css?t=F62A HTTP/1.1" 200 1967 ::1 - - [03/Jul/2015:14:45:07 +0200] "GET /ckeditor-releases/contents.css?t=F62A HTTP/1.1" 200 1967 ::1 - - [03/Jul/2015:14:45:30 +0200] "GET /ckeditor-releases/contents.css?t=F62B HTTP/1.1" 200 1967 ::1 - - [03/Jul/2015:14:47:00 +0200] "GET /ckeditor-releases/contents.css?t=F62B HTTP/1.1" 200 1967 ::1 - - [06/Jul/2015:09:19:47 +0200] "GET /ckeditor-dev/contents.css HTTP/1.1" 304 - ::1 - - [06/Jul/2015:10:05:58 +0200] "GET /ckeditor-dev/contents.css HTTP/1.1" 200 1835 ::1 - - [06/Jul/2015:10:08:58 +0200] "GET /ckeditor-dev/contents.css HTTP/1.1" 200 1835 127.0.0.1 - - [06/Jul/2015:10:11:19 +0200] "GET /ckeditor-dev/contents.css HTTP/1.1" 304 -
You're reading the results from your dev tools incorrectly.
Don't you have cache disabled when the console is open? For realistic results you would need to check with the dev tools closed. There's no reason why this file would be requested multiple times. It should be cached the first time it's loaded and then reused.