TinyOptimizer - now runs on a webservice
We upgraded TinyOptimizer to run via webservices. The impact on the application performance is slightly noticeable but now we are able to register new features as they come on board. This also makes the use of it on production machines far safer since we dont need to load the added weight of the optimization tools locally.
The second piece we decided to do was expose our API’s to the webservice for both JSON and SOAP protocols. This allows you to build a script or an app that can use the same tools we have in the TinyOptimizer.
You can optimize your own files by interfacing with our API. We currently expose SOAP and JSON endpoints at the following URLs:
SOAP: http://tinyoptimizer.tinycdn.com/Services/Optimizer/Optimizer.svc?wsdl
JSON: http://tinyoptimizer.tinycdn.com/Services/Optimizer/Optimizer.svc/json/<method name>The method of interest is called “GetSchemes”. It returns an array of supported optimization schemes. You will need to pass “SchemeName” to the processor service to indicate which optimization scheme to use.
I am very excited to be able to offer this to the community of enthusiasts as well as the newbies. We are very open to hearing what would help you more and of course any ideas you have that would help new folks and end users get more value from this.
I’m happy to say that for testing this I took one of my largest projects and dragged the file onto the application, it parsed all of the file types and had about 3600 png,js, css files. The application took about an hour to run but at the end I save several megabytes of space.
For those worried about privacy, we are not storing any of the files, they are destroyed after they are streamed back. In full disclosure we might add a feature that stores the metrics on each file so that we can get some more broad metrics about the use of optimization techniques.
For those interested in the new release and the api details please visit
http://www.tinycdn.com/Utilities/TinyOptimizer
Any constructive feedback would be awesome.
Lastly, we made some ui tweaks today, the app is now officially awesome
