RSS feed [root] /web /weblog



title search:


Mon Mar 16 07:45:11 HKT 2020


Should contain HTML and CSS resource

(google search) (amazon search)
download zip of files only

Sat May 16 23:10:40 HKT 2020 From /weblog/web/script


Prototype reference -

Discussion of javascript with a lot of pointers -

New version of Javascript -

15 javascript you cannot live without -[..]vascript-snippets-you-cant-live-without/

A tutorial -

Pointers of a lot of libraries -[..]/my-library-of-javascript-libraries.html

The 2020 Web Developer Roadmap -[..]-2020-web-developer-roadmap-76503ddfb327

(google search) (amazon search)

Mon Mar 16 07:46:47 HKT 2020 From /weblog/web/script


How I made a 3D game in only 2KB of JavaScript -

(google search) (amazon search)

Mon Mar 16 07:45:26 HKT 2020 From /weblog/web


(google search) (amazon search)

Wed Jul 26 10:20:22 HKT 2017 From /weblog/web


One of many tips of how to design a website that deliver content faster -[..]006/02/02/10-steps-to-a-faster-web-site/

The other, for user to read quick -[..]0-ways-to-design-for-impatient-visitors/

Webmaster tools, marketing -
Webmaster tools, page development -
and tools to tune page performance -[..]tools-to-boost-up-your-site-performance/

Tips from codinghorror -[..]og/2011/06/performance-is-a-feature.html

Tips from ACM -

Web Framework Benchmarks -

How taobao optimize their mobile app -[..]bao-521-performance-optimization-project

The timeline of how browser showing the page, and how to optimize it -[..]rontend-performance-chrome-timeline.html[..]-for-the-browser-f2f51a29c572#.7ivccwl5e

How a page loaded fast -[..]d-page-loads-lessons-learned-4bb1be3ed07

About making picture load faster -[..]icles/yelp-lossless-compression-pictures

(google search) (amazon search)

Mon Feb 01 12:16:34 HKT 2016 From /weblog/web


Mitigating DDoS Attacks with NGINX and NGINX Plus -[..]-ddos-attacks-with-nginx-and-nginx-plus/

(google search) (amazon search)

Mon Aug 17 22:48:04 HKT 2015 From /weblog/web


How tvmost built -

(google search) (amazon search)

Wed Jan 01 12:42:27 HKT 2014 From /weblog/web


(google search) (amazon search)

Thu Nov 07 11:36:59 HKT 2013 From /weblog/web


What is REST?[..]/2008/rest-apis-must-be-hypertext-driven , in short, it should not limit to web and http[..]1118/what-exactly-is-restful-programming

(google search) (amazon search)

Sun Oct 20 00:45:13 HKT 2013 From /weblog/web


吸引力不足?提高網頁轉換率的 28 個祕訣[..]tegies-for-conversion-optimization-part1[..]tegies-for-conversion-optimization-part2

(google search) (amazon search)

Mon Feb 18 16:25:59 HKT 2013 From /weblog/web/ajax


In summary:

Back buttonnoyes

And a more detail comparison:[..]og/archives/2005/12/the_ajax_respon.html[..]/archives/2006/01/the_ajax_respon_1.html

Comparing using JavaScript tag, iframe and SafeFrame standard for Ad serving -[..]-ad-invocation-codes-and-placement-tags/

(google search) (amazon search)

Wed Jan 23 18:02:47 HKT 2013 From /weblog/web


How websocket work -

The reason of websocket -

(google search) (amazon search)

Wed Jan 23 18:02:08 HKT 2013 From /weblog/web

web master

Reasons of website getting banned -

Just in case if anyone don't want some part of the site searchable. -[..]things-you-probably-didnt-know-about.php

And if you like to make your page easy to be found -[..]-every-programmer-should-know-about-seo/[..]st-free-online-website-builders-2013.htm

(google search) (amazon search)

Wed Jan 23 12:37:56 HKT 2013 From /weblog/web


Various ways to construct URL using -

URL vs. URI vs. URN: The Confusion Continues -[..]l-vs-uri-vs-urn-the-confusion-continues/[..]/difference-between-url-uri-and-urn.html

(google search) (amazon search)

Mon Jan 07 21:42:52 HKT 2013 From /weblog/web


Just come across a blog that teach how to tell browser not to cache your page -[..]-can-i-prevent-browser-from-caching.html

Using private is better for IE to use other application to open those file.

* Rob, 05 April 2005: changed Cache-Control from 'no-cache' to 'private', since this works better for files
* that are handed off to an external application by Internet Explorer--e.g. CSV files, Excel files, iCalendar
* files, SkillSoft NetDownload SSO files, zip files...
response.setHeader("Cache-Control", "private");

Building Scalable Web Architecture and Distributed Systems, a lot about how to cache the resource -[..]40142422&siteSectionName=web-development

(google search) (amazon search)

Sat Jan 05 10:32:03 HKT 2013 From /weblog/web


Some alternative for form protection -

Or use honey pot, a clever trick -[..]-blog-comment-spam-without-using-captcha

(google search) (amazon search)

Sun Dec 23 01:07:51 HKT 2012 From /weblog/web


New APIs for HTML5

HTML5 introduces lots of new and exciting things for web authors, among these are new APIs. Here are some of them.

Application Cache API
An API to interact with the application cache, which is a set of cached resources.

You can do window.applicationCache to get the ApplicationCache object that applies to the active document of that window. More on application caches here.

DataTransfer API
The DataTransfer objects are used to expose the drag data store that underlies a drag-and-drop operation. More on drag and drop here.

Command API
A command is the abstraction behind menu items, buttons, and links. They are defined to have facets (label, hint, icon, etc.) and are exposed on elements using this API.

Constraint Validation API
As of this writing, there is no proper definition to this. But we can assume it'll extend our client-side validation tool arsenal.

History API
The History objects provide a representation of the pages in the session history of browsing contexts.

For example, you can go back (window.history.back()) and forward (window.history.forward()). More on session history here.

MediaController API
An API to interact with the

Mon May 21 23:23:21 HKT 2012 From /weblog/web

storage at browser

Space in string cookies value will break the cookie like javascript:

Problem of deleting cookie using setMaxAge(0):

Protecting Your Cookies: HttpOnly, ( Set-Cookie: ASP.NET_SessionId=ig2fac55; path=/; HttpOnly ) -

Other than cookie, other client side storge API, localStorage,IndexedDB,File API -[..]32900805&siteSectionName=web-development

(google search) (amazon search)

Sun May 06 09:33:16 HKT 2012 From /weblog/web


From - "IMDB has a technique where they use CSS positioning to place a scaled 1x1 transparent gif over their photos so that right-clicking and doing a save-as saves the 1x1 gif.", I think this approach is simple and elegant

(google search) (amazon search)

Thu Mar 01 23:27:08 HKT 2012 From /weblog/web


SSL handshake latency and HTTPS optimizations. -

Overclocking SSL -

(google search) (amazon search)

Mon Oct 17 23:17:30 HKT 2011 From /weblog/web/script


How to display local time to users in browser? -

(google search) (amazon search)

Wed Apr 06 01:00:03 HKT 2011 From /weblog/web/browser


Opera developer tools -

How to make opera use less memory -[..]w-to-make-opera-consume-less-memory.html

A blog entry guide how to use opera sdk on mac os x -[..]5/11/building-mobile-ajax-with-os-x.html

(google search) (amazon search)

Tue Mar 22 14:38:46 HKT 2011 From /weblog/web/script

hint[..]ipt-the-good-parts-by-douglas-crockford/[..]12/07/downloading-javascript-as-strings/ <- in order to improve performance

Possible benefit of using library JS from other host -[..]u-should-let-google-host-jquery-for-you/

Use iframe to make script load async -[..]eb-pages-faster-with-a-simple-tweak.html

(google search) (amazon search)

Tue Mar 08 08:45:59 HKT 2011 From /weblog/web/script


Introduction to mobi, a DSL to web -

(google search) (amazon search)

Thu Jan 20 23:59:59 HKT 2011 From /weblog/web/script


(google search) (amazon search)