sebkrueger / cachingproxy Goto Github PK
View Code? Open in Web Editor NEWMerge all css and js file into one file and gzip to fast delivery
License: MIT License
Merge all css and js file into one file and gzip to fast delivery
License: MIT License
Try to find better way to store packed files and add the .htaccess support for precompresed delivery. Best location for cached folder is outside the vendor folder.
For example in AbstractCachingProxy.php
$returnfilelist[] = preg_replace("$^".($_SERVER["DOCUMENT_ROOT"])."$", "", $file);
Use Google REST API to minify files on the fly
https://developers.google.com/closure/compiler/docs/gettingstarted_api
Font awesome font src: url won't work because of the single quote in url
src: url(\"/demo/css/font/fontawesome-webfont.eot?#iefix&v=3.0.1\")
Kickstart Framework use @import section in main .css file to load different other files. Now the need to load manually or wont load.
Idea: Read in the files in Import section and put the content in the css file. In this process it is neccessery to rewrite all the ressource pathes in the imported files.
When images or other files, include in css files for example:
background-image: url("./img/german_flag.jpg");
background-image: url(./img/german_flag.jpg);
background-image: url("../css_framework_abc/img/german_flag.jpg");
background-image: url("/demo/css/css_framework_abc/img/german_flag.jpg");
The files could't not found after packing and move packed files to cache folder. Solution is to parse .css files and adjust the path.
When input files change, now the Process never delete the old coressponding packed and cached files.
Delete these old files without making much cpu time waste.
Create Testcase for gziped file generation
When debugmode is active, show short stats about the following
Deaktivated support for php 5.3 because of broken tests on travis-ci.
The touch function on vfs testfilesystem don't work below php 5.4
Solution: deaktivate the test that use touch only on php 5.3 build
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.