Skip to content

AMFMobileCachingMemcached

ifuschini edited this page Mar 21, 2018 · 6 revisions

Overview

AMFMobileCachingMemcached cache the different layout, of the same URL, for each type of devices that have done the requests. The timeout caching is configurable.

File:AMFMobileCaching.jpg

Prerequisite

AMFWURFLFilter must be configured and loaded.

Configuration

Open the file httpd.conf of your webserver. And configure this few parameter:

PerlSetEnv AMFMobileHome /server_root/MobileFilter
PerlSetEnv ServerMemcached 10.0.0.15:11211,10.0.0.16:11211,/var/sock/memcahed

CapabilityList xhtml_table_support, is_wireless_device, etc...... #default is all  

PerlTransHandler +Apache2::AMFWURFLFilterMemcached


SetHandler modperl
PerlOutputFilterHandler Apache2::AMFMobileCacheMemcached
Allow from all