This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Contact Form 7 Conditional Enqueues WordPress Plugin. | |
* | |
* @package CF7_Conditional_Enqueues | |
* @author Weston Ruter, Google | |
* @license GPL-2.0-or-later | |
* @copyright 2023 Google Inc. | |
* | |
* @wordpress-plugin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Recursively add the defer strategy to a script and all its dependencies. | |
* | |
* @param string $handle The script handle. | |
* @return void | |
*/ | |
function recursively_add_defer_strategy( $handle ) { | |
wp_script_add_data( $handle, 'strategy', 'defer' ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<configuration> | |
<system.webServer> | |
<urlCompression doDynamicCompression="true" doStaticCompression="true" dynamicCompressionBeforeCache="true"/> | |
<staticContent> | |
<remove fileExtension=".svg" /> | |
<mimeMap fileExtension=".svg" mimeType="image/svg+xml" /> | |
<mimeMap fileExtension=".woff" mimeType="application/font-woff" /> | |
<clientCache httpExpires="Sun, 29 Mar 2020 00:00:00 GMT" cacheControlMode="UseExpires" /> | |
</staticContent> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Copyright (c) 2015 Fabian Raetz <[email protected]> | |
# | |
# Permission to use, copy, modify, and distribute this software for any | |
# purpose with or without fee is hereby granted, provided that the above | |
# copyright notice and this permission notice appear in all copies. | |
# | |
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | |
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
A Static Site Generator is a program, that generates an HTML website as an output. ThisHTML website is then served through your web server, just like the old’n’days. This is usually achieved using template languages and code that separates out the layout of the website from its content and styles.
Advantages of a Static Site Generator?
- Security – There’s no database layer, or rails/pylons layer of code so security excellent.
- Performance – Under load, less memory / cpu usage to serve your website, so your website stays up longer
- Have a copy of your content separate from your server
- Easily move your website to another host – Copy and paste the HTML and re-route the domain name should you have one.
- node.js
- Installation paths: use one of these techniques to install node and npm without having to sudo.
- Node.js HOWTO: Install Node+NPM as user (not root) under Unix OSes
- Felix's Node.js Guide
- Creating a REST API using Node.js, Express, and MongoDB
- Node Cellar Sample Application with Backbone.js, Twitter Bootstrap, Node.js, Express, and MongoDB
- JavaScript Event Loop
- Node.js for PHP programmers
- What is a Landing Page
- Call To Action Copy
- Design Two Buttons, then Stop.
- How to Hook New Customers with Your Explainer Video
- Landing Page Success
- The anatomy of a perfect Landing Page
- 5 Tested Conversion Design Tactics You Should Put to Work. Right Now.
- The Most Dangerous Landing Page Mistakes & How You Can Fix Them
- On-Page Optimization
- Category on the Moz Blog
- A Visual Guide to Keyword Targeting and On-Page Optimization
- On-Page Factors
- Squirrly is a WordPress Plugin which helps optimize Articles for Search Engines.
- Anchor Text Over Optimization Tool: Worried about Google's Penguin algorithm hitting you for over-optimized anchor text? Simply type in your URL for a full report of which links might raise flags.
- Domain Hunter: Broken Links Checker
- Find Broken Links, Redirects & Site Crawl Tool
- Google Page Speed Insights: Page speed is correlated with better r
NewerOlder