Handle properly empty response 204 (Important for SEO, so crawlers
won’t cache page with 204, and will came back later)
Fix for appcache package, the error was caused by Meteor’s
internal redirection from links like site.com/a/b/c/d to
site.com/#!a/b/c/d. PhantomJS always interpreting this redirection as
fail fetching, so we just waiting for 20s for any data.
204
(Important for SEO, so crawlers won’t cache page with204
, and will came back later)appcache
package, the error was caused by Meteor’s internal redirection from links likesite.com/a/b/c/d
tosite.com/#!a/b/c/d
. PhantomJS always interpreting this redirection asfail
fetching, so we just waiting for 20s for any data.