saintmac / angular-cache-buster Goto Github PK
View Code? Open in Web Editor NEWCache Buster for AngularJS $http (and $resource). Especially useful for IE8, IE9
License: MIT License
Cache Buster for AngularJS $http (and $resource). Especially useful for IE8, IE9
License: MIT License
This line:
"main": "angular_cache_buster.js"
should be
"main": "angular-cache-buster.js",
Hi, there!
I'd like to use angular-cache-buster in a work project, but we require the open source projects we use to have appropriate licenses. Would you mind applying a license? May I suggest the MIT License?
It would be nice if one could specify a blacklist/whitelist function as the first argument to setMatchlist
, instead of (or in addition to) an array of regular expressions. For a project I'm currently working on, I need to do a few things programmatically to determine whether a URL should be cache-busted; it's not quite as simple as checking whether it matches a regular expression.
The function would take config.url
as an argument and return a boolean indicating whether it is a "match" or not.
What do you think?
We have set up ngCacheBuster for JHipster and now all our request get the added "cache buster" parameter.
While this is good for IE, it is bad for other browsers: this added parameter uses a bit more resources and might be confusing to users.
Could we have an option so that the "cache buster" parameter is only applied on IE?
I see those errors:
http://localhost:8080/app/vg-templates/vg-media-video?cacheBuster=1526950831109 404 (Not Found)
angular.js:13708 Error: [$compile:tpload] http://errors.angularjs.org/1.5.7/$compile/tpload?p0=vg-templates%2Fvg-media-video&p1=404&p2=Not%20Found
I need to use this dependency but it seems to end up in conflict with growl. As soon as I install it, import it in my index.html and load the dependency into the app I get an error saying "Failed to load template: templates/growl/growl.html" (whichis not even used). Also, I can't open regular modals via $modal.open anymore. I get an error saying "Failed to load template: template/modal/window.html". It's a regular function that works fine as long as I don't install angular-cache-buster.
This module is adding ?cacheBuster to templates already in $templateCache, so it cant find cached views if for example they are named "$my_directive_template".
Hi,
Latest version is not published into npmregistry.
Could you please publish it.
Thanks.
If explicitly setting $http caching, cache buster should not append cacheBuster parameter to url.
Example: $http.get('/api/dictionary', { cache: true })
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.