Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Why won't Chrome 'forget' .htaccess redirects that have since been removed from the file?

Engaged ,
Mar 14, 2019 Mar 14, 2019

Even as a non-programmer - with your help - I've been able to use my .htaccess file various different ways... sometimes to shorten the path of long urls, sometimes to redirect to the secure version of the site... always works great.

Until I change my mind about something and remove it from the .htaccess file, because Chrome keeps acting like it's still in there. Forcing a reload of everything on the page doesn't seem to help.

Even if I hollow my .htaccess file out for the purposes of troubleshooting, it seems Chrome remembers every RewriteCond forever. (I tested it a month later and it was still redirecting, so it never expires).

Is there a way for me to flush everything Chrome knows about a specific website? In other words, treat it like it's the first time it's being pulled up, without affecting the notes it has on the other sites.

PS: Is Chrome particularly stubborn about this, or are all browsers? I know Firefox and Edge don't redirect after I removed those lines, but I had never tested the redirects on them in the first place. There was nothing for them to 'forget'. Now I'm afraid to turn the redirects back on and use those browsers, because they might have the same issue Chrome does after I turn them off (ie, keep redirecting forever) then I'm really screwed.

9.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Mar 14, 2019 Mar 14, 2019

Chrome has a sticky cache to promote a faster web experience.  The only way to kill it is to clear cache and browsing data  whenever you test web pages.  Or do what I do, get Firefox .

Google Chrome

  1. Click Wrench icon (at the top right of the browser)..>Select the option Tools..>Click 'Clear Browsing Data'..>Mark 'Empty the cache' option..>Click the button 'Clear Browsing Data'
  2. The keyboard shortcut is shift+Ctrl+delete.
Translate
Community Expert ,
Mar 14, 2019 Mar 14, 2019

Chrome has a sticky cache to promote a faster web experience.  The only way to kill it is to clear cache and browsing data  whenever you test web pages.  Or do what I do, get Firefox .

Google Chrome

  1. Click Wrench icon (at the top right of the browser)..>Select the option Tools..>Click 'Clear Browsing Data'..>Mark 'Empty the cache' option..>Click the button 'Clear Browsing Data'
  2. The keyboard shortcut is shift+Ctrl+delete.
Nancy O'Shea— Product User, Community Expert & Moderator
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 14, 2019 Mar 14, 2019

Just in case you need a permanent fix:

https://www.technipages.com/google-chrome-how-to-completely-disable-cache

Hope this helps!
Make sure to press "✔ Correct Answer" on this post if this answers your question. Happy Creating!
Anissa • @anissat
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Mar 14, 2019 Mar 14, 2019

Are you guys saying there's no way for me to target a specific URL for cache flushing, I gotta use the master purge?

What if I was open to a more manual/laborious solution? I don't want to flush everything that hasn't been whitelisted, I just want to flush what Chrome remembers about the .htaccess file on this 1 specific website. Is that in any way doable?

EDIT: The master purge did work, though. (Damn, that redirect was persistent.)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 14, 2019 Mar 14, 2019

https://forums.adobe.com/people/Under+S.  wrote

Are you guys saying there's no way for me to target a specific URL for cache flushing, I gotta use the master purge?

What if I was open to a more manual/laborious solution? I don't want to flush everything that hasn't been whitelisted, I just want to flush what Chrome remembers about the .htaccess file on this 1 specific website. Is that in any way doable?

Google points to: How to clear Google Chrome Redirect Cache for a single URL

Option #3 at the above link - Incognito Mode - might work too.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 15, 2019 Mar 15, 2019
LATEST

In Chrome, you can also...

1. Open the Developer Tools (F12) when viewing your site
2. Click the Network heading
3. Check the box for Disable Cache
4. Reload

Leave the Dev Tools open during development, closing them ignores the Disable Cache checkbox.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines