Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Allows you to provide alternate filenames or paths for GZIP assets (when a browser supports it)

License

Notifications You must be signed in to change notification settings

easy-designs/easy_gzip_alternatives.ee_addon

Repository files navigation

Gzip Alternatives EE Plugin

This plugin allows you to supply alternate paths for gzip enabled and non-gzip capable devices.

Here’s an example:

<link rel="stylesheet" href="main.{exp:easy_gzip_alternatives normal='css' gzip='gz.css'}"/>

With gzip support, you’d get

<link rel="stylesheet" href="main.gz.css"/>

Without gzip support, you’d get

<link rel="stylesheet" href="main.css"/>

About

Allows you to provide alternate filenames or paths for GZIP assets (when a browser supports it)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages