Ik kwam een paar dagen geleden de volgende release tegen: quiptbeta.
Wat doet dit wonderlijk stukje software
qUIpt is a small library that is capable of caching Javascript files inside the users browser - even if SSL is active. qUIpt helps the site owner by reducing traffic costs and the user with faster page loading.
Werkt het? En hoe?
[ul]
• Quite simple
• It checks for the contents of window.name while your page is being loaded.
• If there's nothing inside the window.name cache the JS files defined by you are fetched via XHR
• The same happens if the users enters your site for the first time of his current browser session or if document.referrer is off-domain or empty
• After that the contents of window.name are being evaluated
• If the user requests the next page on your domain the JS files are directly taken from window.name - no more requests necessary
Is het secure?
[ul]
• Yep - if the user enters your site the first time the JS files are requested - no matter what's already inside window.name
• An attacker can't set window.name from other tabs the user might surf on parallely
source: http://quipt.googlecode.com/svn/trunk/lib/
demos: http://quipt.googlecode.com/svn/trunk/example/ (alhoewel 1 demo
)
De techniek ken ik al iets langer, maar ik vraag me af of je hier enige kanttekeningen bij zou moeten plaatsen; vandaar deze mogelijke discussie
Wat denken jullie? Is het wel zo secure als het lijkt? Heeft deze vorm van caching voordelen tov. standaard manieren? Kan je zo cookie size problemen omzeilen (mits alleen benodigd voor de huidige sessie)? Is het verstandig om 150kb aan JS in je global name space te dumpen?
Wat doet dit wonderlijk stukje software
qUIpt is a small library that is capable of caching Javascript files inside the users browser - even if SSL is active. qUIpt helps the site owner by reducing traffic costs and the user with faster page loading.
Werkt het? En hoe?
[ul]
• Quite simple
• It checks for the contents of window.name while your page is being loaded.
• If there's nothing inside the window.name cache the JS files defined by you are fetched via XHR
• The same happens if the users enters your site for the first time of his current browser session or if document.referrer is off-domain or empty
• After that the contents of window.name are being evaluated
• If the user requests the next page on your domain the JS files are directly taken from window.name - no more requests necessary
Is het secure?
[ul]
• Yep - if the user enters your site the first time the JS files are requested - no matter what's already inside window.name
• An attacker can't set window.name from other tabs the user might surf on parallely
source: http://quipt.googlecode.com/svn/trunk/lib/
demos: http://quipt.googlecode.com/svn/trunk/example/ (alhoewel 1 demo
De techniek ken ik al iets langer, maar ik vraag me af of je hier enige kanttekeningen bij zou moeten plaatsen; vandaar deze mogelijke discussie
Wat denken jullie? Is het wel zo secure als het lijkt? Heeft deze vorm van caching voordelen tov. standaard manieren? Kan je zo cookie size problemen omzeilen (mits alleen benodigd voor de huidige sessie)? Is het verstandig om 150kb aan JS in je global name space te dumpen?
Ace of Base vs Charli XCX - All That She Boom Claps (RMT) | Clean Bandit vs Galantis - I'd Rather Be You (RMT)
You've moved up on my notch-list. You have 1 notch
I have a black belt in Kung Flu.