tralles / cms-delta-2 Goto Github PK
View Code? Open in Web Editor NEWCMS | delta II
CMS | delta II
PageSpeed Insights currently gives 60 from 100 to UNDUNE for the Desktop category (51/100 for Mobile).
It is suggested, that the images should be optimized.
Optimize images
Properly formatting and compressing images can save many bytes of data.
Optimize the following images to reduce their size by 512.8KiB (11% reduction).
All these images were uploaded by the users using the CMS. So they are outside of Ruby on Rails’ asset pipeline, and Gems like image_optim do not help.
It looks like PaperclipOptimizer might be the solution.
Any objections to a pull request adding this?
It should be checked if a copy of the original uploaded image is safed somewhere or also optimized.
Currently, it’s not possible to add new routes for other languages, or delete them.
Entering an incorrect password, there is no feedback for the user telling them about it.
PageSpeed Insights suggests to get rid of the redirects.
In the development environment, the utility convert
is currently assumed to be in /usr/local/bin
.
$ git grep PAPERCLIP_COMMAND
cms/app/models/content.rb: command_line = Cocaine::CommandLine.new( "#{PAPERCLIP_COMMAND_PATH}convert", "#{src_file_name} -resize #{width} #{dst_file_name}" )
cms/config/environments/development.rb: PAPERCLIP_COMMAND_PATH = "/usr/local/bin/"
cms/config/environments/production.rb: PAPERCLIP_COMMAND_PATH = "/usr/bin/"
This breaks on systems, where the utility is stored in /usr/bin
or another path.
Normally, /usr/local/bin
should be in the user’s path, so there shouldn’t be a need to hardcode the path.
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.