openshift上的缓存控制头

时间:2015-04-26 18:58:28

标签: python apache openshift wsgi

如何在openshift apache服务器上设置缓存控制头?我使用python 2.7 cartridge(与wsgi和django),我找不到如何修改apache设置。谢谢你的帮助!

1 个答案:

答案 0 :(得分:0)

您必须使用.htaccess在OpenShift上设置缓存控制标头。有关示例缓存控制代码,请参阅using cache in .htaccess to speed up your site。有关在OpenShift Python应用程序仓库中使用.htaccess的示例,请查看using basic auth with Python

相关问题