PHPackages                             aoepeople/aoe\_jscsststamp - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. aoepeople/aoe\_jscsststamp

AbandonedArchivedMagento-module[Utility &amp; Helpers](/categories/utility)

aoepeople/aoe\_jscsststamp
==========================

Automatic Versioning of JS and CSS files for Magento.

0.9.2(7y ago)4312.0k13[2 issues](https://github.com/AOEpeople/Aoe_JsCssTstamp/issues)GPLv3PHP

Since Sep 5Pushed 7y ago38 watchersCompare

[ Source](https://github.com/AOEpeople/Aoe_JsCssTstamp)[ Packagist](https://packagist.org/packages/aoepeople/aoe_jscsststamp)[ Docs](https://github.com/AOEpeople/Aoe_JsCssTstamp)[ RSS](/packages/aoepeople-aoe-jscsststamp/feed)WikiDiscussions master Synced today

READMEChangelog (6)Dependencies (1)Versions (15)Used By (0)

AOE\_JsCssTimestamp
===================

[](#aoe_jscsstimestamp)

[![Build Status](https://camo.githubusercontent.com/88b616d41b0255bd9551f010f6f3fc20f0d175b107c6ccd8475326d57119ca08/68747470733a2f2f7472617669732d63692e6f72672f414f4570656f706c652f416f655f4a73437373547374616d702e737667)](https://travis-ci.org/AOEpeople/Aoe_JsCssTstamp)

Author: [Fabrizio Branca](https://twitter.com/fbrnc)

Overview
--------

[](#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
------------

[](#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

```
RewriteCond %{REQUEST_URI} ^/media/css/.*\.css$ [OR]
RewriteCond %{REQUEST_URI} ^/media/js/.*\.js$

```

never rewrite for existing files

```
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* ../get.php [L]

```

### Add versions to 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)

```
RewriteRule (.*)\.(\d{10})\.(gif|png|jpg)$ $1.$3 [L,NC]
RewriteRule (.*)\.(\d{10})\.(css)$ $1.$3 [L,NC]
RewriteRule (.*)\.(\d{10})\.(js)$ $1.$3 [L,NC]

```

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:

```
location ^~ /media/js/ {
    try_files $uri $uri/ @handlerjs;
}

location ^~ /media/css/ {
    try_files $uri $uri/ @handlercss;
}

location @handlerjs {
    rewrite /media/js/ /get.php;
}

location @handlercss {
    rewrite /media/css/ /get.php;
}

```

### If you enable the Add timestamps to asset files feature, also add these lines to your nginx config file

[](#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.

```
rewrite "^/(.*)\.(\d{10})\.(gif|png|jpg)$" /$1.$3 last;

```

Release notes
-------------

[](#release-notes)

#### v0.8.1

[](#v081)

- Use adding sequence for sorting items without given prio

#### v0.8.0

[](#v080)

- Added system configuration setting to take store id's into account when generating the filename hash
- Added configuration to sort assets by priorities:

```

    skin_js
    js/app.js

    100

```

#### v0.7.1

[](#v071)

- added unit tests
- removed JSMin since it wasn't used
- getSkinUrl now also optionally adds the version key to image assets

#### v0.7.0

[](#v070)

- Allowing to add timestamps to js and css files too now. Feature "inspired" by [Tymek's](https://github.com/tmotyl) [commit](https://github.com/macopedia/Aoe_JsCssTstamp/commit/5471779099fea1c259c49e89ae8308de4a8138e9).

#### v0.6.0

[](#v060)

- CDN support is removed. Use [https://github.com/AOEpeople/Aoe\_MergedJsCssCdn](https://github.com/AOEpeople/Aoe_MergedJsCssCdn) if you need CDN support.

###  Health Score

37

—

LowBetter than 84% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community26

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 52.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~141 days

Recently: every ~129 days

Total

13

Last Release

2882d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a7c128588934775b07942f0a35a325d72cb06acb975f4527e20b4a20ded97d18?d=identicon)[fbrnc](/maintainers/fbrnc)

![](https://www.gravatar.com/avatar/960234235576bad43bcf26bd7618875f7aac66e5b86200a1339c648e55b8ad25?d=identicon)[LeeSaferite](/maintainers/LeeSaferite)

---

Top Contributors

[![fbrnc](https://avatars.githubusercontent.com/u/468820?v=4)](https://github.com/fbrnc "fbrnc (30 commits)")[![mathiasschopmans](https://avatars.githubusercontent.com/u/193253?v=4)](https://github.com/mathiasschopmans "mathiasschopmans (6 commits)")[![LeeSaferite](https://avatars.githubusercontent.com/u/47386?v=4)](https://github.com/LeeSaferite "LeeSaferite (6 commits)")[![sprankhub](https://avatars.githubusercontent.com/u/930199?v=4)](https://github.com/sprankhub "sprankhub (5 commits)")[![Vinai](https://avatars.githubusercontent.com/u/72463?v=4)](https://github.com/Vinai "Vinai (3 commits)")[![Zyava](https://avatars.githubusercontent.com/u/957560?v=4)](https://github.com/Zyava "Zyava (2 commits)")[![mzeis](https://avatars.githubusercontent.com/u/371060?v=4)](https://github.com/mzeis "mzeis (1 commits)")[![gerritpechmann](https://avatars.githubusercontent.com/u/725078?v=4)](https://github.com/gerritpechmann "gerritpechmann (1 commits)")[![tessig](https://avatars.githubusercontent.com/u/2521981?v=4)](https://github.com/tessig "tessig (1 commits)")[![erfanimani](https://avatars.githubusercontent.com/u/930470?v=4)](https://github.com/erfanimani "erfanimani (1 commits)")[![bastianccm](https://avatars.githubusercontent.com/u/1145424?v=4)](https://github.com/bastianccm "bastianccm (1 commits)")

### Embed Badge

![Health badge](/badges/aoepeople-aoe-jscsststamp/health.svg)

```
[![Health](https://phpackages.com/badges/aoepeople-aoe-jscsststamp/health.svg)](https://phpackages.com/packages/aoepeople-aoe-jscsststamp)
```

###  Alternatives

[inviqa/magento-symfony-container

Provides Magento with an instance of a Symfony DI Container

2436.5k](/packages/inviqa-magento-symfony-container)[tim-reynolds/magento-qconfig

Magento config quick search

513.0k](/packages/tim-reynolds-magento-qconfig)[fastly/cdn

Fastly CDN module for Magento 1.x

275.4k](/packages/fastly-cdn)[clerk/magento

Clerk.io Turns More Browsers Into Buyers

1029.1k](/packages/clerk-magento)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
