Can’t save menu, gets 504 Gateway Timeout error
-
Our menu isn’t that huge, it’s a few megas with some columns in them.
I have our site behind a Sucuri firewall/proxy and I can’t save the menu because it ends up with a 504 Gateway Timeout error.
After some troubleshooting with Sucuri, I found that they have a hard limit of 32kb for the header size of a request, and when saving a max mega menu, the header size is around 181kb which is HUGE!
Even when I bypass Sucuri and use my local hosts file to connect directly to the SiteGround IP, I still end up timing out most times.
I don’t know if there is any way to fix this or somehow reduce the size of the massive JSON payload in the header when a menu is saved, but something needs done so that both SiteGround and Sucuri can’t handle a header this size when saving the menu.
How else can I get this menu to save?
- The topic ‘Can’t save menu, gets 504 Gateway Timeout error’ is closed to new replies.