Difference between revisions of "Package talk:MediaWiki"

m (forced cash revalidation)
m
 
(2 intermediate revisions by the same user not shown)
Line 28: Line 28:
 
#$response->header( "Cache-Control: private, must-revalidate, max-age=0" );
 
#$response->header( "Cache-Control: private, must-revalidate, max-age=0" );
 
}}
 
}}
im a moron and realized i put cash instead of cache LOL 22:53, December 6, 2014 (UTC)
+
im a moron and realized i put cash instead of cache LOL [[User:Threesixes|Threesixes]] ([[User talk:Threesixes|talk]])
  
i dont get obscene cache speeds with out disabling this by commenting it out.
+
i don't get obscene cache speeds with out disabling this by commenting it out.
  
before: (funtoos site as of [[User:Threesixes|Threesixes]] ([[User talk:Threesixes|talk]]))
+
before: (funtoos site as of 22:54, December 6, 2014 (UTC))
Requests per second:    11.57 [#/sec] (mean)
+
*Requests per second:    11.57 [#/sec] (mean)
Transfer rate:          339.56 [Kbytes/sec] received
+
*Transfer rate:          339.56 [Kbytes/sec] received
  
 
vs
 
vs
  
Requests per second:    4647.70 [#/sec] (mean)
+
my local wiki's speeds
Transfer rate:          100836.66 [Kbytes/sec] received
+
*Requests per second:    4647.70 [#/sec] (mean)
 +
*Transfer rate:          100836.66 [Kbytes/sec] received
 
where its just bandwidth as the bottleneck.
 
where its just bandwidth as the bottleneck.

Latest revision as of 22:59, December 6, 2014

much of the cleanup had occurred.

connection problems tonight

generate sitemaps.... if localhost/mediawiki or localhost/wiki sitemaps are placed @ localhost/sitemap-index-my_wiki.xml

# php maintenance/generateSitemap.php --fspath ..

obviously this needs more work....

robots.txt will go to seo but its worth documenting to this talk page commit....

syntax http://www.robotstxt.org/robotstxt.html

database of spiders to use with robots. http://www.robotstxt.org/db.html


moar

super simple bootstrapping skin: http://www.mediawikibootstrapskin.co.uk/index.php?title=Get_BootStrapSkin

just requires navigation sub items are removed... mobile phones cant edit pages, but you probably dont want them trying to anyways.

forced cash revalidation

/var/www/localhost/mediawiki/includes/OutputPage.php: disable forced cache revalidation (php source code)
#$response->header( "Cache-Control: private, must-revalidate, max-age=0" );

im a moron and realized i put cash instead of cache LOL Threesixes (talk)

i don't get obscene cache speeds with out disabling this by commenting it out.

before: (funtoos site as of 22:54, December 6, 2014 (UTC))

  • Requests per second: 11.57 [#/sec] (mean)
  • Transfer rate: 339.56 [Kbytes/sec] received

vs

my local wiki's speeds

  • Requests per second: 4647.70 [#/sec] (mean)
  • Transfer rate: 100836.66 [Kbytes/sec] received

where its just bandwidth as the bottleneck.