# Cache 404 error

**URL:** <https://discourse.sst.dev/t/cache-404-error/1076>\
**Category:** General\
**Created:** [June 15, 2019, 1:16pm UTC](https://discourse.sst.dev/t/cache-404-error/1076 "2019-06-15T13:16:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Liebsa](https://avatars.discourse-cdn.com/v4/letter/l/8491ac/32.png) [@Liebsa](https://discourse.sst.dev/u/Liebsa)\
**Post date:** [June 15, 2019, 1:16pm UTC](https://discourse.sst.dev/t/cache-404-error/1076/1 "2019-06-15T13:16:10Z")

</div>

Hi everyone  
I deployed a website using S3 and cloudfront some weeks ago and I just realized something. If I look at their cache on google, all my pages are redirected to 404 while everything seems to work normally.  
Is this common?  
Aside from using lambda edge to make sure the last slash was removed, I did not do much special.

An idea where the problem may come from?

---

<div class="post-metadata">

**Author:** ![jayair](https://yyz2.discourse-cdn.com/flex032/user_avatar/discourse.sst.dev/jayair/32/9_2.png) [@jayair](https://discourse.sst.dev/u/jayair)\
**Post date:** [June 17, 2019, 6:20pm UTC](https://discourse.sst.dev/t/cache-404-error/1076/2 "2019-06-17T18:20:08Z")

</div>

Thats really strange. In this chapter ([https://serverless-stack.com/chapters/create-a-cloudfront-distribution.html](https://serverless-stack.com/chapters/create-a-cloudfront-distribution.html)) we specify that we want to return 200 for all the requested pages. Do you have that specified?
