This Varnish Cache configuration caches all static or semi-static (e.g. compressed scripts) files – images, javascript, css. It’s ment for single machine setup, to reduce webserver load. Webserver itself in my configuration runs on port 8080. On my server load average dropped by half in peak hours thanks to Varnish. This particular server vas doing some on-the-fly css generation, so your results may vary. Continue reading
Month: September 2015
Tools for image optimization and compression
Image optimization is a great way to decrease overall website file size, thus making it load faster and saving bandwidth.
This is a list of tools and Linux commands I use for image optimization and batch resizing. Continue reading
How to remove version and protocol from wordpress CSS and JS includes
By default, all WordPress CSS and Javascript files are included something like this:
<link rel="stylesheet" href="https://webtoolsplus.com/wp-includes/css/dashicons.min.css?ver=4.3.1" />
I personally don’t like the use of full file URL and version when including CSS or JS, because query string (the ?ver= part) sometimes messes with caching files in browser and/or proxy servers, and the protocol (http/https) can be bothersome when migrating to https or if your site is accessible in both versions. Continue reading
Some actually useful online SEO services
There are hundreds of sites claiming to offer all kinds of SEO assistance, but not a lot of them are actually giving valuable information.
I put together a list of ones I have personally used and consider to be legitimate sources of information. Feel free to add ones you like in the comments section. Continue reading
%%30%30: A Game – creative way to exploit Chrome bug
Github user szhu has created a game called “%%30%30: A Game”.
The idea is pretty simple – precisely move your mouse through the map without touching the deadly trees. It’s a really simple game that’s been around for ages, but with a little twist – every time you accidentally touch the tree – your browser crashes. Continue reading
What to do when 140 characters are not enough?
There are several popular online publishing tools to choose from, when you want to share longer texts on Twitter.com. One I recently found to be pretty good at it’s job is https://tweet-long.com/
The idea is really simple – log in with your Twitter account, write the content you wish to share, and publish it on Twitter, with the provided link.
Continue reading