What are the setup options for HTTP redirect codes, and how do I fix cache problems?
SUMMARY
- Learn about different redirect code options and how they behave, including the problems that may occur with 301 redirects failing to clear your cache.
- Additionally, discover how to clear your cache and why it matters.
Note: Redirect codes are a type of HTTP Status Code.
- You can identify redirect code options by numbers 301, 302, 303, 307.
- For example, let’s say you’ve set your domain at 301 for Permanent Redirects.
- You edited a URL and then tested it
- The destination remains unchanged. Why?
- Answer: Your browser's cache is the problem.
How we can help you solve this issue:
- Browsers take shortcuts to perform faster. What does this mean?
- Instead of checking the TinyCC site to verify if anything with the link has changed since its last visit - the browser assumes it has yet to.
- Instead, it grabs and redirects a previously written copy using your computer's local storage.
- In short, it bypasses TinyCC servers (and incidentally bypasses stats collection).
- The link works fine for others who click it but appears unchanged for you.
- Solution: clear your cache. See the following directions: Clearing your browser cache and cookies.
- Other redirect code numbers behavior:
- 307 is a temporary redirect and will not trigger caching.
- The same goes for 302 and 303.