September 29, 2010 4 Comments
Some of you may have aldready known this but some have not, such as new drupalers.
Anyway lets’s start talking about site performance. Have you ever checked your drupal site’s source page? If not check it right now….
Right Click on the web site and choose view page source.
Don’t be shocked by the number of external styles and script files in the headr tag, it’s common in every drupal site, but you may have noticed that whenever you add a new module the scripts and styles are keep increasing, that’s not good for our site and bandwidth, especially it will affect your SEO because google penalize slow site. Don’t worry Drupal gives us an option to solve this issue. Go to Administer>Site configuration>Performance and configure it as below
 Caching Mode: Normal
 Minimum Cache Lifeime: none (Set it depends on your site traffic and content upadtes)
 Page Compression: Enabled
 Block Cache: Enabled
 Optimize CSS files: Enabled
Now you click the save configuration button and go to your site’s front page and check the source code again…
If you ever made a changes to your sites styles or any other settings after enabling the cache make sure that you clear the cache to see the result.
By enabling the cache and optimizing the external styles and scripts you have done a big optimizaion to your drupal web site. Hope this small tip could help to improve your sites performance. If you have any questions regarding your sites performance comment below, I will try my best to reply as fast as I can.