Cache Override

Developer

Vince Falconi

3rd Party (Free)

4 downloads (last 90 days)

MIT License Download v1.0

EE Version Support

  • ExpressionEngine 2

Compatibility

If an item is crossed out, it might be untested, not applicable or incompatible. Contact the developer to be sure.

  • Updater
  • Multi Site Manager
  • Stand Alone Entry Form
  • Low Variables
  • Content Elements
  • Better Workflow
  • Matrix
  • Grid
  • Webservice
  • Publisher

Requirements

  • jQuery for the Control Panel

Add-On Type(s)

Plugin

Tags

Cache Override is a flexible ExpressionEngine plugin that provides proxy-browser-friendly, cache-busting URLs for assets of any kind.

Cache Override works a lot like EE’s built-in {path} variable in that it outputs a URL based on the provided path, but it comes with a few extra features:

  • Using the pattern parameter, you can define how the filename should be rewritten. This also allows you to employ the “revving the filename” technique, placing the timestamp as part of the filename itself, instead of in a query string on the end of the URL.
  • The absolute_url parameter gives you the option of an absolute URL (because let’s face it, some of us just prefer absolute URLs). (Note: the absolute URL will be based on what you’ve set as the site URL in your EE configuration.)
  • Because Cache Override’s output is only the URL, it can be used to rewrite the filename of any asset you need to cache-bust-CSS, JavaScript, images, JSON, whatever.

Example usage:

{exp:cache_override path="/assets/css/styles.min.css" pattern="v-{t}.{f}.{e}" absolute_url="true"}

Output:

protocol://domain.tld/assets/css/v-1420665809.styles.min.css

Download Cache Override

EE Support Downloads Add-On Version Release Date
2.5.0+ Download 1.0 Jan 13, 2015

Cache Override Links

This entry was created January 13, 2015, 1:35 pm.
This entry was last updated January 13, 2015, 1:42 pm.

Disclaimer: Information about ExpressionEngine add-ons is provided as a service to you, the user, and every member of the ExpressionEngine community. devot:ee is not responsible if you hose, mangle, wreck, or otherwise destroy your EE website by installing an add-on that you found out about at this site, regardless of its rating, Favorites status, commercial or free status, or general popularity. Caveat EEmptor!

Returns: devot:ee has a 30-day return policy on all commercial add-ons sold through devot-ee.com. If you need to return an add-on, do not go to the developer or the developer's site, but rather visit our returns page at https://devot-ee.com/returns to initiate your return. If you have questions, email support@devot-ee.com.

There are no reviews for this add-on yet.

What are you waiting for? Rate it and review it!