Hello. I have resembling cms http://www.dunk.pro/ (PHP)
How to increase speed, without loss of design?
How do I know which classes in css can be removed?

Recommended Answers

Use LESS or SASS to create leaner CSS - but use the minified css files in your live site.
Minify your js files.

Jump to Post

You can do the following;

  1. Minify your Javascript
  2. Minimise DNS look ups
  3. Specify image dimensions
  4. Combine external css
  5. Remove unused CSS
Jump to Post

All 5 Replies

This is not actually a PHP question, but............

if you install the speed test extension for Chrome or Firefox, this will indicate where you can improve page speed.

Member Avatar

Use LESS or SASS to create leaner CSS - but use the minified css files in your live site.
Minify your js files.

You can do the following;

  1. Minify your Javascript
  2. Minimise DNS look ups
  3. Specify image dimensions
  4. Combine external css
  5. Remove unused CSS
Member Avatar

Ensure that your aren't looping unnecessarily, e.g. using separate SQL queries, where a simple join could suffice.
Image quality should be optimised for web and if possible resized.

Once you have the site online, you may want to use this site to test the performance of your page. I have found it to be very helpful. In the results, the report indicates areas that need attention and provides a summary of recommendations.

http://www.webpagetest.org/

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.