User tests: Successful: Unsuccessful:
Facebook scraper gets only 40kb of data when scraping a page. If Gzip is enabled and the compressed page is more than that Facebook gets something that cannot decode (partial d/l returns code 206). This P/R checks if user agent is facebookexternalhit/1.1 and if so disables the gzip
Tracker:
http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=32634
There is another P/R #3643 with no code
Labels |
Added:
?
?
|
Title |
|
Title |
|
You are right. I thought about that, but I already have made the first commit. Thus I am closing this. In case anyone needs a quick clean fix, here is the plugin
https://github.com/dgt41/facebookfix
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2014-05-30 03:19:49 |
I think it could be interesting as integrated plugin. So not everybody has
to have it enabled but it can be done easily.
On 30 May 2014 04:07, "bembelimen" notifications@github.com wrote:
I don't think, that Joomla! should fix a bug from facebook (especially not
hardcoded and without using the Joomla! framework).If you want to disable gzip for facebook, you could create an plugin and
use JBrowser—
Reply to this email directly or view it on GitHub
#3662 (comment).
@Bakual yeah I already did that :)
@phproberto If it's not an overkill to have yet another plugin...
I don't think, that Joomla! should fix a bug from facebook (especially not hardcoded and without using the Joomla! framework).
If you want to disable gzip for facebook, you could create an plugin and use JBrowser