This file contains 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
######################################################################## | |
# OPTIMAL .htaccess FILE FOR SPEED AND SECURITY @Version 2.0.1 - 08/2020 | |
# ---------------------------------------------------------------------- | |
# @Author: Andreas Hecht | |
# @Author URI: https://seoagentur-hamburg.com | |
# License: GNU General Public License v2 or later | |
# License URI: http://www.gnu.org/licenses/gpl-2.0.html | |
######################################################################## | |
This file contains 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
How to install windows on digital ocean, | |
use this tutorial : | |
https://milankragujevic.com/how-to-install-windows-10-on-digitalocean | |
or if you want to create own image : | |
https://glitchwitch.io/blog/2018-09/windows-10-on-digitalocean/ | |
this image .gz mirror got from whatuptime : | |
try first if it working>> | |
[Microsoft Windows Server 2012] |
This file contains 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
why should we do? | |
-> https://moz.com/ugc/expires-headers-for-seo-why-you-should-think-twice-before-using-them | |
you need to have some modules on hosting active : mod_expires.c and mod_deflate.c | |
other then this, you only need to add this codes to the .htaccess file, after the content that is allready there | |
Content compression and expiration have been enabled for domain domain.xxx | |
if its done, there are 4 static components without a far-future expiration date. | |
-> https://maps.googleapis.com/maps/api/js?key=AIzaSyBjvS4LNUdlMyIh7pM96WLkNLIxtY1VWA4&callback=initMap | |
-> https://fonts.googleapis.com/css?family=Open+Sans:400,700,300 |
This file contains 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
var gulp = require('gulp'); | |
var cleanCSS = require('gulp-clean-css'); | |
var minify = require('gulp-minify'); | |
gulp.task('default', [ | |
'css', | |
'requireJsMinify', | |
'jsMinify' |