News & Updates
Training & Certification
to create and rate content, and to follow, bookmark, and share content with other members.
How do we gzip or deflate rest/v10/metadata/public?type_filter=&module_filter=&platform=base
Question asked by
on Jul 1, 2015
on Jul 2, 2015 by Matt Marum
Show 2 Likes
Chrome's Pagespeed says rest/v10/metadata/public?type_filter=&module_filter=&platform=base can be compressed 86%. But I can't seem to get this particular file to get compressed. Anybody know how to compress this file?
No one else has this question
Mark as assumed answered
This content has been marked as final.
Show 3 comments
(Required, will not be published)
Jul 2, 2015 11:19 AM
That response is compressed on my local Apache setup. Here's what my Apache deflate output filter config looks like.
Show 1 Like
Jul 2, 2015 11:36 AM
Can you add a request to add this to the .htaccess file for a future release?
Show 0 Likes
Jul 2, 2015 12:40 PM
So that has been a subject of debate off and on over the couple of years I've been at SugarCRM. The issue with compression is that you can sometimes run into mysterious compatibility issues if certain HTTP clients don't support it. Also, it can significantly increase server load (CPU and memory) since each request gets compressed on the fly. So enabling compression on a busy server can cause it to keel over. Since we can't say for sure if it will "work well" for everyone, we don't plan to enable it by default.
Show 0 Likes
Retrieving data ...
Which fields changed
How to get current platform(base/mobile) in SugarCRM logic hook?
Currency fields not changing all in same record
Wrong currency shown
Hint 5.3.1 Is Live