Bug #19376
closed
Loading the backend takes more than 70 HTTP requests
Added by Michael Stucki about 16 years ago.
Updated about 6 years ago.
Description
See subject.
The solution should be to use external tools like MinifyJS and MinifyCSS to get the number of requests as low as possible (= 1 JS file, 1 CSS file).
(issue imported from #M9427)
Hi Olly, can you please make sure that this gets onto the roadmap for 4.3? It should be really simple but effective...
Thanks! Michael
i think there was already patch (from benni) to avoid double loading of a script (tabs.js was loaded several times)
The minify-script atm is only used by TSFE, and there also only for inlineJS (should be possible for scripts as well)
+1 to handle this at a central point and make possible usage of minify and merge
Guys, the solutiojn exists long time ago, it is simply disabled by default. Search for three _.htaccess in the core and rename them appropriately. You will not get any extra HTTP request at all after the first time.
ah - i remember reading that in your blog. As it is still unknown to the most we should publish it official on t3.org.
But this solves only one part, not the double include or the minify-option for BE, right?
Hi Dmitry,
not quite right. The first request when entering the backend would not be affected by this change. Of course it helps a lot once the files have been loaded, but I would more like to see a solution that speeds up requests not only after the backend is loaded once.
But of course your solution with the .htaccess rules will still provide a nice enhancement to it though...
Yes, of course, the first load will fetch all files. But subsequent requests will not fetch them at all. Effect is very noticable, just try it! Or use YSlow to measure the effect...
- Status changed from Resolved to Closed
Also available in: Atom
PDF