GithubHelp home page GithubHelp logo

tbela99 / gzip Goto Github PK

View Code? Open in Web Editor NEW
25.0 7.0 5.0 5.56 MB

Optimize any Joomla website and/or turn it into a Progressive Web Application

License: Other

JavaScript 40.45% PHP 58.31% Shell 0.28% CSS 0.47% Less 0.48%
pwa joomla-extensions joomla web-performance joomla-plugin security-tools hotlink-protection critical-css-parser

gzip's Introduction

Joomla Website Optimizer Plugin

Current version Documentation Known Vulnerabilities download from JED

logo

Make your website blazing fast.

screenshot

  • It includes a new Css parser
  • Automatic critical path css generation which will bring you close to 100 in lighthouse test with no effort

Here are some features provided by this plugin

HTML

  • HTML minification
  • preserve IE conditional comments

Javascript

  • merge files
  • minify files
  • remove files based on a pattern
  • async loading
  • move javascript to the bottom of the page

CSS

  • merge files
  • minify files
  • remove files based on a pattern
  • async loading
  • web fonts preloading
  • automatic critical css generation

Images

  • automatically resize images
  • convert to avif and webp
  • generate responsive images
  • generate preview images
  • lazyloading images
  • generate responsive css background images

Performance

  • automatic critical css path generation
  • configurable HTTP caching headers
  • optimizations are enforced when the client sends Save-Data HTTP header
  • dns prefetch
  • profile plugin performance using HTTP server timing headers
  • precompressed cached files using brotli or gzip.

Service Worker

  • enable service worker
  • offline first support
  • background sync
  • web share target level 2
  • web push notifications using One Signal
  • immediately update the service worker when the manifest settings change

Content Security Policy (CSP)

Configure almost every csp level 3 settings to your liking:

  • disable inline scripts and css
  • block css, js, workers, frames, etc.
  • allow css and js from specific origin only
  • dynamic csp rules generation from the page content

Security

  • Sub Resource Integrity
  • HSTS header configuration
  • XSS-PROTECTION header configuration
  • X-Frames-Options configuration

Hotlink Protection

  • configure file type that use hotlink protection
  • configure link lifetime

The complete list of features is available in the online documentation and the change log

gzip's People

Contributors

cbahiana avatar cbahiana-sd avatar imgbotapp avatar tbela99 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

gzip's Issues

White screen of death..

Hi. I got WSOD whem i upgraded to php 7.2. I tried to log on admin, but got error. logged in with the securitycode beheind, and got throug.. this was weird, since I had deactivated gzip.. do you know what this issue could be?

missing translation

PLG_GZIP_FIELD_CSP_STYLE_HINT=""
JOPTION_CSP_DISPOSITION_DISABLED="Disabled"

install on joomla 3.9.14 fails

when installing on j3.9.14 I get the error :
Alerte
JInstaller: :Install: le fichier n'existe pas /home/weblor/public_html/web5433/tmp/install_5e1c1595796ad/gzip-master/Docs/
Plug-in Installer : impossible de copier les fichiers depuis la source

Joomla extension PWA

Hello Mr Bela,
First up, thanks for the Gzip extension. I had used it prior, and it worked. Secondly, I'm not a developer.
I've tried Gzip now on another https site, twice, last week and today, and both times, I was thrown and locked out of my Admin back-end. The only changes I've made since, was to install security (SecurityCheck) and also backup (EJB).
Could this be the reason why Gzip is throwing me out, giving a blank page, and locking me out?
Or are there other possible reason?
Thanks
Jacquelene

Performance issue

Missed cache lead to performance issue when parse critical is enabled but the critical css is an empty string

Cant install on Joomla

Hi I dl and tried to install this Joomla extension but not work to install it.

Can you check if you missing some install files that make it not work?

Cheers!

gtmatrix 404 errors

I am trying out your plugin on a fresh joomla install with nothing on it running via gtmetrix trying to figure out all the settings.

on the HTTP tab http cache i have cache file set to No - otherwise the site does not load correctly

but when i run it in gtmetrix, i get 404 errors on the files below (xxxx are my site :)

if i look in the file manage there are no such files or directory, how do i fix this, thanks?

https://www.xxxx.co.za/xxxx/2nJ-y5/media/jui/fonts/IcoMoon.woff
https://www.xxxx.co.za/xxxx/2nJ-y5/media/jui/fonts/IcoMoon.ttf

icon formats

First - thank you very much for this plugin, i am still testing but it seems great.

I need help with some settings - first, what name/type/size must the icons be for the pwa. I do not seem to get it to work on my phone and it just takes a default icon.

thanks

Mobile menu doesn't show

Hi! When enabling Gzip, my menu disappear on mobile. I use Gantry's particle 'mobile menu'. It works on Deskop, except when reducing the size of the window. What can I do?

Remove curl dependency

the plugin now requires curl to be installed in order to fetch remote files. We should use a library that abstracts http requests and that will work without curl

Joomla 2.5.11 capability

Can I use your extension ( Gzip ) on older versions of Joomla 2.5.11 for example? And if I can do I have to make any changes?

Can't install the plugin

Hi

i would to try gzip but unfortunately i can't install because have the following error
JInstaller: :Install: the file not exists /home/mywebsite/tmp/install_5b0db6aa24281/gzip-2.3/worker/css

Can you help me please?

Syntax error in helper.php

After installing and enabling plugin I get: Parse error: syntax error, unexpected '->' (T_OBJECT_OPERATOR) in xxx/plugins/system/gzip/helper.php on line 2616

Joomla 3.9.6, PHP 5.6.40

onesignal setup

i have enabled the onesignal setup in the plugin and added ap id and api key ( no test user )

when i open the website, i do see a bell but nothing happens when i click on it

when i go to pwabuilder.com all is fine except Service Worker has a push registration

Could you assist me with this one please.

Thanks for all your trouble so far

Exclude path images (duplicate images)

Hi.
This is not Issues maybe a little.
If any gallery create optimize image in src in own breakpoints.
Duplicating images. Even if they are not webp This profit will be minimal at the expense of the space occupied.

Maybe gzip be smart and discover image src set or option for exclude patch cache images for gallery support src set.

DJ mediatools, econa, droppic, JUltraNewsPRO using src set.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.