PHP Classes

Speed up website: Looking for package to increase website load time

Recommend this page to a friend!
  All requests RSS feed  >  Speed up website  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

Speed up website

Edit

Picture of Gavin Gordon Markowski by Gavin Gordon Markowski - 6 years ago (2017-05-20)

Looking for package to increase website load time

This request is clear and relevant.
This request is not clear or is not relevant.

0

I'm looking for a package that MUST do all of the following ...

• will compile all css files into 1 css file, without overwriting any styles in one and other; • will compile all js files into 1 js file, without overwriting any code in one and other; • will make use of output buffering, if necessary, as per the goal mentioned at the bottom; • will make use of any necessary headers, as per the goal mentioned at the bottom;

The package SHOULD, but is not required to, do the following ...

• will make use of composer, so as to allow the inclusion of a single 'autoload.php' file;

The GOAL ...

• to speed up the overall website loading speed for both new and returning visitors;

Thank you, in advance, to any/all those who are able to help.

Sincerely, Gavin

  • 2 Clarification requests
  • 2. Picture of zinsou A.A.E.Moïse by zinsou A.A.E.Moïse - 6 years ago (2017-06-20) Reply

    hi.Just one question.Why do you think that compile all js files into 1 js file will help to achieve the goal you purpose to do...?

    • 1. Picture of zinsou A.A.E.Moïse by zinsou A.A.E.Moïse - 6 years ago (2017-06-20) Reply

      hi.Just one question.Why do you think that compile all js files into 1 js file will help to achieve the goal you purpose to do...?

      • 3. Picture of Gavin Gordon Markowski by Gavin Gordon Markowski - 6 years ago (2017-08-19) in reply to comment 1 by zinsou A.A.E.Moïse Comment

        Hello. To answer your question, I think that compiling all the js files into a single js file will help me achieve my goal of speeding up the the website due to 1 very valid reason: because the website uses more than 6 js files, compiling them all into one file will reduce the number of requests being made to load such file types. So, instead of having to make 6+ requests to load javascript files, it would only have to make 1 request.

      • 4. Picture of zinsou A.A.E.Moïse by zinsou A.A.E.Moïse - 6 years ago (2017-08-19) in reply to comment 3 by Gavin Gordon Markowski Comment

        it is right.Above all, browsers will keep in cache the javascript script once and that may help for loading fast the pages...there are lot of package.But recently i test one package that combine the php files of a directory together.I think this package can be a good base to build another for javascript files.But in other sense i think that your single javascript file could take more time to be load...And also that it may be more optimal to load little part of script only when you need just like Wordpress do...

      • 5. Picture of riccardo castagna by riccardo castagna - 5 years ago (2018-09-17) in reply to comment 3 by Gavin Gordon Markowski Comment

        There are several aspects to consider in order to speed up the loading of a web content. Finding a php package to do all the work is a bit complicated.

        Your insights on css and js files are correct and I suggest you insert js files immediately after the body tag and as little as possible inside the tag head, only the critical css go into the head.

        Avoids like the plague, the base64 encoding.

        Image size ratio and compression and file compression.

        Cache management (server cache and browser cache)

        Do training on the techniques of publishing content to those who will then manage the publication of new pages of a CMS

        All aspects to consider are: Harware (virtual/real) Network dandwidth Application complexity Memory consumption Response time of database and service provider User/client load Time (day of week, holidays, etc ... )

    Ask clarification

    1 Recommendation

    JavaScript and CSS minifier: Optimize JavaScript and CSS files

    This recommendation solves the problem.
    This recommendation does not solve the problem.

    0

    Picture of zinsou A.A.E.Moïse by zinsou A.A.E.Moïse Reputation 5840 - 6 years ago (2017-06-23) Comment

    you can try this


    Recommend package
    : 
    :