Skip to content

Commit 7b883e2

Browse files
authored
Merge pull request #3140 from sbrunner/fix-cache-host
Have a capabilities cache per hostname
2 parents a0bfc4c + 872cfb7 commit 7b883e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/server/qgswmsserver.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ void QgsWMSServer::executeRequest()
159159
{
160160
QStringList cacheKeyList;
161161
cacheKeyList << ( getProjectSettings ? "projectSettings" : version );
162+
cacheKeyList << getenv( "SERVER_NAME" );
162163
bool cache = true;
163164
#ifdef HAVE_SERVER_PYTHON_PLUGINS
164165
cache = mAccessControl->fillCacheKey( cacheKeyList );

0 commit comments

Comments
 (0)