php - don't cache some HTML -
i know if can exclude of html being cached. using mediawiki software. mediawiki solution or other php solution work well.
my mediawiki pages cached , implementing site notice feature expires after few days. when pages cached, doesn't honor expiration date , being displayed time. want exclude part of code being cached. implementing mediawiki extension.
thanks
mediawiki caching works in many layers. there number of server side caches, apart caching in client. (as might have noticed, mw notoriously slow, unless implement @ least of caching functionalities.)
first of want figure out sitenotices cached. i'm sure aware, there more 1 place can set sitenotice:
mediawiki:anonnotice
mediawiki:sitenotice
$wgsitenotice
inlocalsettings.php
- through few different extensions
do stay on page long?
secondly, can try , figure out sitenotice cached:
- is there difference if logged in/out? parts of interface can harder cached anonymous users.
- does message disappear if clear browsers cache?
- try , disable varnish (or squid), if using of them.
- temporarily disable $wgenableparsercache see difference makes.
- set
$wgcachepages = false;
in localsettings.php, try , disallow client side caching
Comments
Post a Comment