Opened 15 years ago
Closed 15 years ago
#30 closed enhancement (fixed)
Proxy caching
Reported by: | adube | Owned by: | adube |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | server | Version: | 1.0 |
Keywords: | cache, proxy | Cc: | adube@… |
Description
need
To be able to keep on client-side the images returned by TileCache services
currently
The content outputed by the proxy has no caching support.
proposed
A new boolean parameter "$m_boolCacheEnabled" set to false by default.
Instead of having the option in the TileCache proxy only, we could have it on the others as well, so that in the future we could be to cache other kinds of services outputs.
Attachments (2)
Change History (7)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
by , 15 years ago
Attachment: | patch-GeoPrisma-30-r742-A0.diff added |
---|
comment:3 by , 15 years ago
Patch pass php sniffer with 0 errors. Patch also include a new sample which demonstrate how to use it.
Please review.
by , 15 years ago
Attachment: | patch-GeoPrisma-30-r743-A1.diff added |
---|
comment:4 by , 15 years ago
New patch that allows the proxy caching per type, i.e. TileCache and WMS.
Please review.
Sample of use in common.php :
//---------------------------- // Proxy caching configuration //---------------------------- // set TileCache proxy caching only org_geoprisma_SettingImpl::setTileCacheProxyCaching(true); org_geoprisma_SettingImpl::setTileCacheProxyCachingExpires(2419200); // set WMS proxy caching only org_geoprisma_SettingImpl::setWMSProxyCaching(true); org_geoprisma_SettingImpl::setWMSProxyCachingExpires(2419200); // set ALL proxy caching org_geoprisma_SettingImpl::setProxyCaching(true); org_geoprisma_SettingImpl::setProxyCachingExpires(2419200);
comment:5 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
r761, commited. No major issues reported.
"it on the others as well" --> I mean directly in !Proxy.php instead.