67
LAMPIRAN 1
SCRIPT HTACCESS
<IfModule mod_expires.c> ExpiresActive On
ExpiresDefault "access plus 1 month"
ExpiresByType image/jpg "access plus 1 year" ExpiresByType image/jpeg "access plus 1 year" ExpiresByType image/gif "access plus 1 year" ExpiresByType image/png "access plus 1 year" ExpiresByType text/html "access plus 1 month" ExpiresByType text/css "access plus 1 month"
ExpiresByType application/pdf "access plus 1 month"
ExpiresByType application/x-shockwave-flash "access plus 1 month" ExpiresByType application/x-javascript "access plus 14 days"
ExpiresByType image/x-icon "access plus 1 year" </ifModule>
<ifModule mod_headers.c>
<filesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|swf|svg)$"> Header set Cache-Control "max-age=2592000, public" </filesMatch>
<filesMatch "\.(css)$">
Header set Cache-Control "max-age=604800, public" </filesMatch>
<filesMatch "\.(js)$">
Header set Cache-Control "max-age=216000, private" </filesMatch>
<filesMatch "\.(xml|txt)$">
Header set Cache-Control "max-age=216000, public, must-revalidate" </filesMatch>
<filesMatch "\.(html|htm|php)$">
Header set Cache-Control "max-age=1, private, must-revalidate" </filesMatch>
68
LAMPIRAN 2
SCRIPT PENGOPTIMALAN GAMBAR
function replaceimages_get_images($content) { global $post;
$images = array(); $x = 0;
$args = array(
'post_type' => 'attachment', 'numberposts' => -1,
'post_status' => null, 'post_parent' => $post->ID,
'exclude' => get_post_thumbnail_id() );
$attachments = get_posts( $args ); if ( $attachments ) {
foreach ( $attachments as $attachment ) {
$src = wp_get_attachment_image_src( $attachment->ID, 'full' ); $title = apply_filters( 'the_title', $attachment->post_title );
$alt = apply_filters( 'alt', get_post_meta($attachment->ID, '_wp_attachment_image_alt', true ));
$images[$x] = '<img src="'.$src[0].'" title="'.$title.'" alt="'.$alt.'" />'; $x++;
} }
return $content; }
69
LAMPIRAN 3
SCRIPT MOBILE FRIENDLY
<meta content='IE=EmulateIE7' http-equiv='X-UA-Compatible'/> <b:if cond='data:blog.isMobile'>
<meta content='width=device-width, initial-scale=1.0, user-scalable=0' name='viewport'/>
<b:else/>
70
LAMPIRAN 4
DAFTAR PUBLIKASI ILMIAH PENULIS (TESIS)
No Judul Artikel Penulis Publikasi Waktu
Publikasi Tempat
1
2.
Analysis Teknik Search Engine Optimization Pada Website Terhadap Search Engine Results Page Google.
Studying Reinforcement Learning And Fiber-Optic Cables Using Strychnine.
Sayed Achmady
Sayed Achmady
Seminar