30,997
edits
| Line 43: | Line 43: | ||
</source> | </source> | ||
Again, gain is cumulative with other previous caches. | Again, gain is cumulative with other previous caches. | ||
== HTTP cache of static pages == | |||
Efficiency: *** | |||
Principle: You can setup apache to activate compression of returned resources by adding following directives: | |||
<source lang="ini"> | |||
# Compress returned resources of type php pages, text file export, css and javascript | |||
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript | |||
</source> | |||
== Use mysqli driver instead of mysql == | == Use mysqli driver instead of mysql == | ||