Download the PHP package aoepeople/aoe_jscsststamp without Composer
On this page you can find all versions of the php package aoepeople/aoe_jscsststamp. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download aoepeople/aoe_jscsststamp
More information about aoepeople/aoe_jscsststamp
Files in aoepeople/aoe_jscsststamp
Package aoe_jscsststamp
Short Description Automatic Versioning of JS and CSS files for Magento.
License GPLv3
Homepage https://github.com/AOEpeople/Aoe_JsCssTstamp
Informations about the package aoe_jscsststamp
AOE_JsCssTimestamp
Author: Fabrizio Branca
Overview
This module adds the last-modified timestamp to your JS and CSS merged files to enabled browser-based caching and speed up your server.
Installation
Add following lines to your .htaccess file if storage is set to "database" and you are using apache as your web server.
Get merged js and css files from database using get.php if they do not exist in filesystem
never rewrite for existing files
Add versions to files
If you enable one of the following in the configuration make sure to add this to your .htaccess file:
- Add version to assets (gif|png|jpg)
- Add version to assets (css) NOTE: only works with skin_css (not js_css)
- Add version to assets (js) NOTE: only works with skin_js (not js - coming from /js)
If you use NGINX, add the following lines to your nginx config within the server block for your site if you use database as the file storage location:
If you enable the Add timestamps to asset files feature, also add these lines to your nginx config file
they should NOT be added to any particular location block.
Release notes
v0.8.1
- Use adding sequence for sorting items without given prio
v0.8.0
- Added system configuration setting to take store id's into account when generating the filename hash
- Added configuration to sort assets by priorities:
v0.7.1
- added unit tests
- removed JSMin since it wasn't used
- getSkinUrl now also optionally adds the version key to image assets
v0.7.0
v0.6.0
- CDN support is removed. Use https://github.com/AOEpeople/Aoe_MergedJsCssCdn if you need CDN support.