I engaged two definitions for a compactly generated space:
http://en.wikipedia.org/wiki/Compactly_generated_space
1) In topology, a compactly generated space (or k-space) is a topological space whose topology is coherent with the family of all compact subspaces. Specifically, a topological space $X$ is compactly generated if it satisfies the following condition: A subspace $A$ is closed in $X$ if and only if $A\cap K$ is closed in $K$ for all compact subspaces $K\subseteq X$.
http://neil-strickland.staff.shef.ac.uk/courses/homotopy/cgwh.pdf
2) A subset $Y\subseteq X$ is $k$-closed if $u^{-1}\left(Y\right)$ is closed in $K$ for every compact Hausdorff space $K$ and every continuous map $u:K\rightarrow X$. These sets can be recognized as the closed sets of a topology (finer than the original topology) and we say that $X$ is compactly generated if this topology is not properly finer than the original topology.
Question: are these definitions equivalent? And if not then wich is the most usual and or convenient to practicize?