Website downloads gz file






















What makes the problem even more interesting and annoying is that if you copy the URL from the hyperlink and paste it to the browser it will just open the page correctly. Yep, this happens only on hyperlinks. I tried to find a bug report on chrome on this but the only thing I was able to find is that others did report a similar if not the same problem with reddit pages or github.

I experienced the same behavior and sent also a report to the chrome devs. Meanwhile I have disabled all of my chrome extensions and didn't recognize the behavior anymore. Feels kinda strange to me, because it works nice yesterday. EDIT: I found the chrome causing extension. In my case it was "Hover Zoom". Any other installed extension Adblock, PageSpeed, Tweetdeck and so on works fine and without the "downloading.

Hope that helps you. Had this problem too. Found a solution by editing htaccess of my Wordpress site, forcing specific file types to load as is;. I had the same problem and simply the Content-Type in the response header was wrong. Most probably it's something like binary or gzip. I had pre-compressed files so had to make sure the server send the correct Content-Type what on an Apache web server would be the ForceType directive. See How do I serve pre-gzipped files with nginx so that they'll be shown as text in the browser?

You need the HttpGzipStatic module for this. Imagine two clients: an old browser without compression, and a modern one with it. If they both request the same page, then depending on who sent the request first, the compressed or uncompressed version would be stored in the CDN. Bad news, either way. Stack Overflow for Teams — Collaborate and share knowledge with a private group.

Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Why Chrome prompts for downloading a page as a. Ask Question. Asked 8 years, 8 months ago. Active 3 years, 10 months ago. Viewed 15k times. This happens only with current Chrome and on all platforms. Add a comment. Active Oldest Votes. We have the exact same issue: — Clear cache — Most pages work except for 1 page after that we stop testing so there might be more — It is a different page every time — Gzip is enabled i have checked on the server — Disabling — We use Plesk.

Since most pages are working OK, it seems to be something random. Also, no log is generated server side: the page is served but is not parsed by the browser. Temp solution For now, we have had to disable all gzip in W3 Total Cache.

Then the situation is stable. Same problem is now happening to our website. We removed the. After a day, it rewrote to the. Hello vpls ,. Hi vmarko ,. You may view the complete W3TC. Problems like this may have something to do with AllowOverwrite in Apache. As per your suggestion, I have activated and purge cache, the website will work as normal before with plugin. I hope we have identified the root cause and ensured that this would not happen again.

Please release the latest update with this fix, many of website facing the issue. Thank you for your patience. I have replied on the ticket that you have opened and a solution has been provided. I hope this helps. Have you taken the WordPress Survey yet?

Search WordPress. Skip to content. Hi, Across a number of servers we see an occasional issue. When its occurring im still able to login via admin. Any idea on what could be casuing this? Viewing 15 replies - 1 through 15 of 25 total.



0コメント

  • 1000 / 1000