If you like my work, a tipee would be nice
https://liberapay.com/Oros/donate
Thank you ;-)
oros42 / cdn_cache Goto Github PK
View Code? Open in Web Editor NEWMake your own cache of Google CDN
License: The Unlicense
Make your own cache of Google CDN
License: The Unlicense
If you like my work, a tipee would be nice
https://liberapay.com/Oros/donate
Thank you ;-)
J'ai un tonne de fichiers, et quand je vais voir la liste depuis mycdn/list, je n'en vois que 5.
This script is no longer working due to a change in HTTPSEverywhere rulesets =(
Cf this issue on their repo.
Hi,
https://opentokrtc.com/ is not working if I use this CDN_cache with HTTPS Everywhere rule.
Just for more information, opentokrtc offers a webrtc demo, to talk directly in the browser. On the main page (https://opentokrtc.com/), just enter something in the input, to create a chatroom. There, if you have two devices connected which are broadcasting the video from the webcam, you should get your video and the one from the others.
I the rules are enabled, you can only see yours, and a blank screen for the others. If the rules are disabled (and only the rule from googleapis.xml), everything is working fine.
I suspect some failure with a script on this page, but didn't figure out which one it is yet. It seems the only thing from google CDN is a font, and I can access it from my CDN.
Thanks if you manage to get it working :)
This solution seems to be ok with caching CSS and JavaScript files from googleapis.com, but it seems to fail at downloading the fonts defined in the CSS.
I added a rule to cache those fonts:
[target host="fonts.gstatic.com" /]
[rule from="^https?://fonts.gstatic.com/(.*)" to="https://MY_HOSTNAME/mycdn/gstatic-fonts/$1"/]
as well as the equivalent code on the server side.
When I copy the content of the fonts.googleapis.com CSS into a test HTML file, the font is downloaded and cached correctly. But if put the original [link] tag containing the href pointing to fonts.googleapis.com, HTTPSEverywhere injects correctly the cached CSS since the CSS styles are downloaded as confirmed by the firebug Net panel, but the font itself does not seem to be downloaded, neither from fonts.gstatic.com, nor from the cache where my HTTP server access.log fails to report any request concerning this font.
Can you confirm this, or am I doing something wrong ?
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.