Extend the             Joomla! webserver                  insteadapril 2012        Joomla! Database Abstractie
Jisse Reitsma●   Co-founder and developer of Yireo                 MageBridge, Vm2Mage, SimpleLists, Dynamic404, SSL Redir...
This talk●   Part 1: Dealing with images (optipng, WebP)●   Part 2: Dealing with CSS and Javascript●   Part 3: Other stuff...
Requirements●   We “own” the server●   Using SSH is vital (basic shell experience)    april 2012          Joomla! Database...
(questions?)april 2012     Joomla! Database Abstractie
Part 1:             Dealing with imagesapril 2012         Joomla! Database Abstractie
Dealing with images●   Optimizing / indexing images (optipng, ...)●   WebP: An alternative image-format    april 2012     ...
Image optimization (1/2)●   What to do:             –   Bit depth; color palette; indexation             –   Less quality;...
Image optimization (2/2)●   optipng●   pngcrush●   pngout●   jpegoptim●   jpegtran    april 2012           Joomla! Databas...
Google WebP●   Reduces image size with 25-34%●   Binary file “cwebp”●   Yireo extensions:             –   WebP for Joomla!...
(questions?)april 2012     Joomla! Database Abstractie
Part 2:             Dealing with CSS and JSapril 2012           Joomla! Database Abstractie
CSS compressors●   CSStidy●   CSSCompressor●   AjaxMin●   Minify●   YUICompressor    april 2012       Joomla! Database Abs...
JavaScript compressors●   Packer●   JSMin●   Closure Compiler●   YUICompressor●   AjaxMin    april 2012          Joomla! D...
Also:●   Forget about merging, build CSS using LESS●   Use mod_deflate to compress JS/CSS output●   JCH Optimize, Yireo Sc...
(questions?)april 2012     Joomla! Database Abstractie
Part 3:             Other stuffapril 2012    Joomla! Database Abstractie
Google mod_pagespeed●   Apache 2 module●   Features (core filters):             –   HTML optimization             –   CSS ...
Security tools●   maldet●   rkhunter●   Nessus    april 2012      Joomla! Database Abstractie
Also (1/2)●   Kernel parameters (TCP windows, timeouts)●   tmpfs / ramfs●   PHP accelerator: APC, memcache, XCache, ...●  ...
Also (2/2)●   SPDY (HTTP2)●   NewRelic●   Piwik●   Amazon S3 (s3cmd)    april 2012      Joomla! Database Abstractie
(questions?)april 2012     Joomla! Database Abstractie
Upcoming SlideShare
Loading in …5
×

JAndBeyond - Extend Joomla! webserver instead

4,281 views

Published on

Slideset used by Jisse Reitsma during Joomla! conference JAndBeyond, dealing with Linux-based tools that could aid Joomla! sites (webp, optipng, mod_pagespeed, maldet, and many more)

Published in: Technology, Art & Photos
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
4,281
On SlideShare
0
From Embeds
0
Number of Embeds
1,999
Actions
Shares
0
Downloads
6
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

JAndBeyond - Extend Joomla! webserver instead

  1. 1. Extend the Joomla! webserver insteadapril 2012 Joomla! Database Abstractie
  2. 2. Jisse Reitsma● Co-founder and developer of Yireo MageBridge, Vm2Mage, SimpleLists, Dynamic404, SSL Redirect, ...● System administrator Linux, HP-UX, VMware ESX● Programmer Joomla!, Magento, PHP, Java, Android● Freelance trainer Joomla! development, Magento development april 2012 Joomla! Database Abstractie
  3. 3. This talk● Part 1: Dealing with images (optipng, WebP)● Part 2: Dealing with CSS and Javascript● Part 3: Other stuff (mod_pagespeed, maldet) april 2012 Joomla! Database Abstractie
  4. 4. Requirements● We “own” the server● Using SSH is vital (basic shell experience) april 2012 Joomla! Database Abstractie
  5. 5. (questions?)april 2012 Joomla! Database Abstractie
  6. 6. Part 1: Dealing with imagesapril 2012 Joomla! Database Abstractie
  7. 7. Dealing with images● Optimizing / indexing images (optipng, ...)● WebP: An alternative image-format april 2012 Joomla! Database Abstractie
  8. 8. Image optimization (1/2)● What to do: – Bit depth; color palette; indexation – Less quality; resolution – Compression technique april 2012 Joomla! Database Abstractie
  9. 9. Image optimization (2/2)● optipng● pngcrush● pngout● jpegoptim● jpegtran april 2012 Joomla! Database Abstractie
  10. 10. Google WebP● Reduces image size with 25-34%● Binary file “cwebp”● Yireo extensions: – WebP for Joomla! – WebP for Magento april 2012 Joomla! Database Abstractie
  11. 11. (questions?)april 2012 Joomla! Database Abstractie
  12. 12. Part 2: Dealing with CSS and JSapril 2012 Joomla! Database Abstractie
  13. 13. CSS compressors● CSStidy● CSSCompressor● AjaxMin● Minify● YUICompressor april 2012 Joomla! Database Abstractie
  14. 14. JavaScript compressors● Packer● JSMin● Closure Compiler● YUICompressor● AjaxMin april 2012 Joomla! Database Abstractie
  15. 15. Also:● Forget about merging, build CSS using LESS● Use mod_deflate to compress JS/CSS output● JCH Optimize, Yireo ScriptMerge, RokGzipper april 2012 Joomla! Database Abstractie
  16. 16. (questions?)april 2012 Joomla! Database Abstractie
  17. 17. Part 3: Other stuffapril 2012 Joomla! Database Abstractie
  18. 18. Google mod_pagespeed● Apache 2 module● Features (core filters): – HTML optimization – CSS / JS merging and compression – Image compression – Ideal for dedicated servers, not shared april 2012 Joomla! Database Abstractie
  19. 19. Security tools● maldet● rkhunter● Nessus april 2012 Joomla! Database Abstractie
  20. 20. Also (1/2)● Kernel parameters (TCP windows, timeouts)● tmpfs / ramfs● PHP accelerator: APC, memcache, XCache, ...● Use Nginx or Lightspeed instead of Apache● MySQL optimization april 2012 Joomla! Database Abstractie
  21. 21. Also (2/2)● SPDY (HTTP2)● NewRelic● Piwik● Amazon S3 (s3cmd) april 2012 Joomla! Database Abstractie
  22. 22. (questions?)april 2012 Joomla! Database Abstractie

×