A telephoto lens can be used very successfully to bring the foreground and background closer together, effectively compressing the image.
The image above was taken with a Nikon 300mm f/4.0 telephoto lens to effectively bring the foreground sailing vessel closer and to also bring the backgrpound setting sun closer together. The image was slightly under exposed to enhance the setting sun.