inkel / asset Goto Github PK
View Code? Open in Web Editor NEWPlugin to improve assets management in CakePHP projects
Plugin to improve assets management in CakePHP projects
CakePHP Asset Plugin ==================== The idea of this plugin is to improve CakePHP's assets management, including: * manage multiple assets servers; * image thumbnailing; * Conditional GET It lacks lots and lots of things at the moment, but I'm planning to add features as regular as possible. What is Conditional GET? ------------------------ Conditional GET is the ability to save bandwidth when re-requesting a resource served by a HTTP server. This translates into a pair of headers sent by the server when accessing a resource for the first time, especifically, Last-Modified and ETag. The web browser then, when request the same resource, can ask If-Modified-Since or If-None-Match, in order to ask the server if the resource has been modified or not since the last time. If it wasn't, the server answers with a 304 Not Modified header, which tells the browser to use the cached image. None of the frameworks I'm aware of (such as CakePHP or Ruby on Rails) manage this type of BASIC caching, which is not only a shame but a lame move. Hopefully I'll deploy a simple way to add this to your CakePHP applications. You can take a look at an implementation at http://stackoverflow.com/questions/204886/236380#236380 And more information at the article about Conditional GET that Simon Willison wrote back in 2003 http://simonwillison.net/2003/Apr/23/conditionalGet/ And also Conditional GET for RSS hackers http://fishbowl.pastiche.org/2002/10/21/http_conditional_get_for_rss_hackers/ Great Caching Tutorial: http://www.mnot.net/cache_docs/
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.