{ | |
"window.zoomLevel": 4, | |
"editor.formatOnSave": true, | |
"workbench.iconTheme": "vs-seti", | |
"workbench.colorTheme": "Monokai Dimmed", | |
"prettier.singleQuote": true | |
} |
# Redirect with a 301 | |
/home / 301 | |
# Redirect with a 302 | |
/my-redirect / 302 | |
# Rewrite a path | |
/pass-through /index.html 200 |
- OS : Ubuntu Server 16.04 LTS
- Web Server : Nginx via Easy Engine
Ref :
/* ------------------------------------------------------------- | |
# Variables | |
------------------------------------------------------------- */ | |
$site_maxwidth: 72rem; // Maximum width the entire site should not exceed | |
$site_maxwidth-text: 40rem; // Maximum width the main content text should not exceed | |
$spacing_horizontal: 1rem; // General horizontal padding | |
/* ------------------------------------------------------------- | |
# General Styles |
This is an incomplete list of resources including courses and individuals who publish content that has helped me grow as a web developer and designer. Many of these resources are WordPress-specific as that is my current area of specialization. This list will grow over time. If you've got something to add, send me a link @kevinwhoffman and I'll check it out!
// Const | |
const webpack = require('webpack'); //to access built-in plugins | |
const ExtractTextPlugin = require("extract-text-webpack-plugin"); | |
const path = require('path'); | |
// ExtractPlugin - Multiple instances | |
// Configure individual stylesheet generation to use correctly with wp_enqueue_style | |
const extractMain = new ExtractTextPlugin('css/main.min.css'); | |
const extractAdmin = new ExtractTextPlugin('css/admin.min.css'); | |
const extractEditor = new ExtractTextPlugin('css/editor.min.css'); |
// Lightweight GraphQL generic client | |
const GraphQLClient = require('graphql-request').GraphQLClient; | |
const crypto = require('crypto'); | |
const path = require('path'); | |
const api = require('./api_constants'); | |
//GraphQL query string to get all inventory, filtering by a specific dealer | |
const vehicles = ` | |
{ | |
allDealerships(filter:{ name:"Wheel Kinetics"}) { |
-
The benchmarks used by Marko, with one benchmark containing only a single component with ~50 lines of code, and the other 3 components with one of them fully static markup, are typical micro-benchmarks created to the advantage of certain implementation details. They are too isolated and too trivial to justify across-the-board performance claims.
-
For client-side performance I recommend using the 3rd party js-framework-benchmark as a more neutral reference; the benchmark tests a much bigger workload and covering a much more comprehensive performance scenarios. According to the data from the latest round Vue actually outperforms Marko. That said, even this benchmark doesn't reflect real world performance where much more overhead comes from big component trees.
-
Vue has significantly improved SSR performance for