From the perspective of computer storage systems, a new idea to speed up WebGIS response was presented, which used memory as data storage instead of normal hard disk to solve the I/O bottleneck problem of hard disk. To solve the volatile problem of RAM and develop inmemory WebGIS, a solution based on tmpfs and initrd was offered after analyzing three types of ramdisk techniques(ram disk, ramfs, tmpfs) in Linux and the composition of Linux operation system. The system composition, framework and memory usage strategy of the inmemory WebGIS were detailed. On this basis, based on 64bit Debian GNU/Linux and MapServer WebGIS platform, the implementation of an inMemory WebGIS application was described in six aspects:buliding WebGIS application on hard disk, building inmemory WebGIS application mirror image file, reconstructing initrd, planning memory, loading system and updating WebGIS application. The test result shows that using memory storage is an effective and proper way to speed up the response of a WebGIS application.