Check that the problem is actually coming from Caching of Gridpane. To validate that please add this url parameter
https://example.com/?bust_cache
If the website loads fine with this URL parameter then login via ssh to the website server and run the following command.
gp fix cached example.com