File Auto-Versioning (CSS, JS, etc) for Templates

Starting with Zen Cart« 1.5.2, additional rules have been added to your store's /includes/.htaccess instructing the customer's browser to cache images, PDFs, CSS and javascript files for certain periods. While that caching provides your site with a performance "boost", it's not without cost ů what happens if you've added a plugin that adds some styling to your current template's stylesheet.css? The short answer is that until the customer specifically refreshes their browser or clears their browser's cache (possibly multiple times), those changes won't be pulled from your site because the browser has been told to cache that file's contents!

That's where File Auto-Versioning comes into play. You can use this plugin to add a version string to those file "assets" so that your customers' browsers are always pulling in the most recent content.

Forum Support Thread

Zen Cart® Versions v1.5.4, v1.5.5
Original Author lat9
Last Updated by lat9 - 4 Jan 2017
Downloads 56

Version History

File Auto-Versioning (CSS, JS, etc) for Templates   -   Version: v1.0.0
Zen Cart® Versions v1.5.4, v1.5.5
Date Added 4 Jan 2017
Author lat9
File Size 55.4 KB
PHP 5.3 Safe? Yes
Downloads 56

Zen-Cart, Internet Selling Services, Klamath Falls, OR