Faster way to delete a large folder in Windows

27 April 2014 | Category: Optimizing, Tools | Comments (0)

How to

I wanted to delete a folder that contains thousands of files and folders (I’ve used Windows 2012 Server). If I use Windows Explorer to delet[……]

Read more about post Faster way to delete a large folder in Windows

Simple technique to preload images at specified moment

20 August 2013 | Category: Browsers, Optimizing | Comments (2)

There are many ways to preload images, including methods that rely on CSS, JavaScript, and various combinations thereof. Here I would like to present[……]

Read more about post Simple technique to preload images at specified moment

JS tip: always use full reference

17 August 2013 | Category: Browsers, JavaScript, Optimizing | Comments (0)

Let’s say we have an example of code like this:

(function(){

    function close_window() {
        if (typeof self.close === 'function') {[......]

Read more about post JS tip: always use full reference

Expires header for fonts do not working

2 July 2013 | Category: Browsers, Optimizing, Server Side | Comments (0)

If you specify Expires header with future date then you may expect that specified fonts (I use woff, ttf, otf and eot) will be cached in browser local[……]

Read more about post Expires header for fonts do not working

Get HTML img element reference by document.getElementById vs document.images

30 June 2013 | Category: JavaScript, Optimizing | Comments (0)

document.images returns a collection of the images in the current HTML document. Well, I assumed that it could be faster to get image reference by usi[……]

Read more about post Get HTML img element reference by document.getElementById vs document.images

To cache or not to cache “length” property

26 June 2013 | Category: Browsers, Optimizing | Comments (0)

I asked Thomas Lahn on comp.lang.javascript newsgroup about caching “length” property:

According to discussion here http://stackoverflow.com/questi[……]

Read more about post To cache or not to cache “length” property

Don’t forget about “Expires” header

20 April 2013 | Category: Browsers, Optimizing | Comments (0)

Why use Expires header?

Expires header tell the browser whether a resource needs to be requested from the source (server), or if it can be fetched[……]

Read more about post Don’t forget about “Expires” header

Loading optimization tips

12 February 2013 | Category: Browsers, Optimizing | Comments (0)

Your web page / application loading very slowly? There is several reasons why your data is loading slowly. However, some tricks can be done to make lo[……]

Read more about post Loading optimization tips