• This repository has been archived on 11/Jan/2021
  • Stars
    star
    111
  • Rank 314,510 (Top 7 %)
  • Language
    PHP
  • License
    GNU General Publi...
  • Created almost 15 years ago
  • Updated about 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

SmartOptimizer is an open source PHP program that enhances your website performance by optimizing the front-end using techniques such as minifying, compression, caching and concatenation on demand.
SmartOptimizer v1.8
------------------------
Author: Ali Farhadi (http://farhadi.ir/)
Released under the terms of the GNU Public License.
See the GPL for details (http://www.gnu.org/licenses/gpl.html).


What is SmartOptimizer?
-----------------------
SmartOptimizer is a php program that enhances your website performance using
techniques such as minifying, compression, caching, concatenation and embedding.
The idea is based on yahoo performace rules (http://developer.yahoo.com/performance/rules.html).


SmartOptimizer Features
-----------------------
* SmartOptimizer Increases your website download speed by reducing the size of JavaScript and
  CSS files approximately up to 80% or even higher.
* Reduces count of http requests by combining js/css files together.
* Also reduces count of http requests by embedding css images inside css files.
* SmartOptimizer generates minified, compressed, combined and embedded files on the
  first request and caches them on the server and uses the cache on future requests.
* It doesn't embed duplicated urls (i.e. css sprites) in css files for better performance.
* It also knows to regenerate already cached files if the originals have been changed.
* SmartOptimizer handles browsers that doesn't support gzip encoding and sends them non-gzipped content.
* It also forces the browser to cache the files optionally forever or until they have not changed.
* SmartOptimizer removes Etag headers. (for better performance on clustered servers).
* It is easy to install, since it requires no code modifications whatsoever. (other than .htaccess)
* All the features is configurable using config file.


Installation Requirements
-------------------------
* PHP 4.3.0 or higher.
* Apache with mod_rewrite enabled.


Installation Instructions
------------------------
1. Upload smartoptimizer folder to your website.
2. "smartoptimizer/cache" folder should be writable (in most cases 777 permission is needed).
3. Upload .htaccess file on the folder that smartoptimizer folder is placed, if there is no another htaccess file currently.
   Otherwise, Copy content of SmartOptimizer htaccess file and paste it inside your current htaccess at the beginning of the file.
4. It's ready. Enjoy it.


Bug reports
-----------
SmartOptimizer is in beta stage and needs a large scale testing specially for its css and js minifiers.
So any feedback is greatly appreciated.

Use the issue tracker at github for bug reports:
http://github.com/farhadi/SmartOptimizer/issues

More Repositories

1

html5sortable

Lightweight jQuery plugin to create sortable lists and grids using native HTML5 drag and drop API.
HTML
1,651
star
2

node-smpp

SMPP client and server implementation in node.js
JavaScript
412
star
3

JalaliJSCalendar

JalaliJSCalendar is a JavaScript DHTML Calendar based on "Dynarch DHTML Calendar" from "Mihai Bazon". The main difference between them is that JalaliJSCalendar supports Persian calendar (aka jalali calendar), that is the official iranian calendar.
JavaScript
126
star
4

IntlDateTime

An extented version of php 5 DateTime class with integrated IntlDateFormatter functionality which adds support for multiple calendars and locales provided by ICU project.
PHP
41
star
5

cuckoo_filter

High-performance, concurrent, and mutable Cuckoo Filter for Erlang and Elixir
Erlang
41
star
6

rate_limiter

A high performance rate limiter on top of erlang atomics for Elixir
Elixir
28
star
7

xxh3

Erlang NIF bindings for XXH3 hash functions implemented in Rust
Erlang
24
star
8

cuckoo_cache

A high-performance probabilistic LRFU concurrent in-memory cache with one-hit-wonders detection for Erlang and Elixir
Erlang
22
star
9

ali3

My stuff for lithium framework
PHP
14
star
10

task-pool

A generic pool to limit number of running asynchronous tasks in node.js
JavaScript
11
star
11

ExtDateTime

An extented version of php5 DateTime Class that adds some more functionality to it and makes it extensible for other calendar systems.
PHP
11
star
12

injector

Dependency injection for Elixir
Elixir
9
star
13

webextract

A web-based utility to extract archive files for unix systems.
Python
6
star
14

global_supervisor

A supervisor that dynamically distributes children across the cluster.
Elixir
5
star
15

singleton_supervisor

Singleton supervisor within an erlang cluster
Elixir
5
star
16

filter.js

An approach to aspect-oriented programming (AOP) in javascript
JavaScript
5
star
17

congestion

Generator-based congestion control
JavaScript
4
star
18

js

My JavaScript Stuff
JavaScript
4
star
19

spinlock

Spinlock for Erlang and Elixir
Erlang
3
star
20

multical-date-widget

a multi-calendar and multi-language date widget for Maemo (N900) with support for Persian, Islamic/Hijri and some other calendar systems.
Python
2
star
21

priority_receive

Prioritized selective receive for Elixir
Elixir
1
star