How to install SmartOptimizer on Drupal

Since there were many requests on how to install SmartOptimizer on Drupal, I decided to write this how-to here.
Just follow these simple steps:

  1. Place smartoptimizer folder inside the folder that your drupal is installed.
  2. "smartoptimizer/cache" folder should be writable (in most cases 777 permission is needed).
  3. Copy content of SmartOptimizer htaccess file and paste it inside Drupal htaccess before drupal rewrite rules. (click here to see Drupal 6.2 htaccess file after modification)
  4. It's ready. Enjoy it.

Using YSlow my website performance grade before installing SmartOptimizer was D(66) and now after installing SmartOptimizer is C(79).

Comments

I just wanted to say that

I just wanted to say that this script has really helped improve the general performance (and YSlow score!) of my company's Joomla site.

Keep up the good work.

http://www.synectics-tc.com/blog/How-to-improve-your-YSlow-score-on-a-sh...

I also wanted to say thanks.

I also wanted to say thanks. My Drupal 6.2 site's YSlow score improved from 69 to 81.

Cached Google pages: SmartOptimizer Error

Is there a way to use SmartOptimizer and have Google's cached version of my pages display properly? I'm using Drupal 6.2 on my site.

All my indexed pages on Google - viewing their "cached version" of the page results in a
SmartOptimizer Error: File not found (../sites/default/files/js/....js)

RE: Cached Google pages: SmartOptimizer Error

I'm using Drupal 6.2 too, but I don't have such a problem.
Can you give me your website address so I can check it.

If the problem persists, I'll

If the problem persists, I'll definitely invite you to check it out. My site is still in somewhat heavy development, so I'm wondering if the frequent changes to my CSS are to blame. I'm also occasionally clearing my cache (performance).

Once I get a bit more stabilized, I'll look into it again. Thanks for the reply and interest, and of course - for SmartOptimizer.

You are welcome

You are welcome.
Please let me know if I can help you out.

reply

For some reason my components are gzipped when i'm not logged in but when i am logged in its not gzip. Does anyone know the culprit?
closets

Thank you

Hi Farhadi,

Using YSlow my website performance grade before F(31) and now after installing SmartOptimizer is B(81), thank u very much for wonderful app.

Hi, my site is always

Hi, my site is always changing js and css, it's a personal drupal theme showcase. I wanted to ask before trying this script about the line in your htaccess file, that says ExpiresDefault "access plus 10 years". Wouldn't that too long a time? Any suggestion or explanation is very much appreciated. Thanks

Thanks for this amazing script!

Thanks for this amazing script.
Your fabulous script has helped me to load my website a lot faster, and the overall experience has been improved a lot!!
Thanks!

اضافه کردن فیلد های ایمیل ، وب سایت به بخش کامنت در دروپال

سلام ، من تازه کار با دروپال رو شروع کرده ام ، می خواستم بدوننم چطوری میشه به بخش کامنت دروپال 6 فیلد هایی مثل نام وب سایت و ایمیل رو اضافه کرد ، توی وب سایت پشتیبان کسی جواب نداد. اگه میشه لطفا مراحل رو توضیح بدهید.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.