Digital experiences for all disciplines
Forum Replies Created
-
-
Would it be possible if I can have an answer on this please?
Please refer to this post:
http://support.swiftideas.net/forums/topic/team-order/Hell Ed,
Can this be implemented on the next update?
This is exactly what I was looking for!
Can you please let me know where I can turn off the Google Maps API? Thank you.
I don’t rely on cache plugins for faster loads. Instead I have modified my .htaccess file as such:
—————————————————————
# BEGIN Compress text files
<ifModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/xml text/css text/plain
AddOutputFilterByType DEFLATE image/svg+xml application/xhtml+xml application/xml
AddOutputFilterByType DEFLATE application/rdf+xml application/rss+xml application/atom+xml
AddOutputFilterByType DEFLATE text/javascript application/javascript application/x-javascript application/json
AddOutputFilterByType DEFLATE application/x-font-ttf application/x-font-otf
AddOutputFilterByType DEFLATE font/truetype font/opentype
</ifModule>
# END Compress text files# BEGIN Expire headers
<ifModule mod_expires.c>
ExpiresActive On
ExpiresDefault “access plus 5 seconds”
ExpiresByType image/x-icon “access plus 2592000 seconds”
ExpiresByType image/jpeg “access plus 2592000 seconds”
ExpiresByType image/png “access plus 2592000 seconds”
ExpiresByType image/gif “access plus 2592000 seconds”
ExpiresByType application/x-shockwave-flash “access plus 2592000 seconds”
ExpiresByType text/css “access plus 604800 seconds”
ExpiresByType text/javascript “access plus 216000 seconds”
ExpiresByType application/javascript “access plus 216000 seconds”
ExpiresByType application/x-javascript “access plus 216000 seconds”
ExpiresByType text/html “access plus 600 seconds”
ExpiresByType application/xhtml+xml “access plus 600 seconds”
</ifModule>
# END Expire headers# BEGIN Cache-Control Headers
<ifModule mod_headers.c>
<filesMatch “\.(ico|jpe?g|png|gif|swf)$”>
Header set Cache-Control “public”
</filesMatch>
<filesMatch “\.(css)$”>
Header set Cache-Control “public”
</filesMatch>
<filesMatch “\.(js)$”>
Header set Cache-Control “private”
</filesMatch>
<filesMatch “\.(x?html?|php)$”>
Header set Cache-Control “private, must-revalidate”
</filesMatch>
</ifModule>
# END Cache-Control Headers# BEGIN Turn ETags Off
# http://developer.yahoo.com/performance/rules.html#etags
FileETag None
# END Turn ETags Off# MINIFY/gzip JS and CSS during deploy on the server
# http://stackoverflow.com/questions/19491306/sending-pre-minified-pre-gzipped-css-and-js-to-the-browser
AddEncoding gzip .jsgz .cssgz
AddType application/x-javascript .jsgz
AddType text/css .cssgzRewriteEngine on
# If client accepts compressed files
RewriteCond %{HTTP:Accept-Encoding} gzip
# and if compressed file exists
RewriteCond %{REQUEST_FILENAME}gz -f
# send .min.cssgz and .min.cssgz instead of .css and .js
RewriteRule ^(.+)\.(min.css|min.js)$ $1.$2gz [L]# CACHE BUSTING
# https://github.com/h5bp/html5-boilerplate/
# This rewrites file names of the form ‘name.123456.js’ to ‘name.js’
# so that the browser doesn’t use the cached version when you have# updated (but not manually renamed) the file<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)\.(\d+)\.(js|css|png|jpg|gif)$ $1.$3 [L]
</IfModule>
—————————————————————
Post revisions can build up in your database and make it bulky.
If you have no reason to save post revisions, you can disable them entirely by adding this line to your wp-config.phpfile.
define(‘WP_POST_REVISIONS’, FALSE);Remove the old post revisions and their meta data from the database. You can do this by using phpMyAdmin. Run this query:
DELETE a,b,c FROM wp_posts a WHERE a.post_type = ‘revision’ LEFT JOIN wp_term_relationships b ON (a.ID = b.object_id) LEFT JOIN wp_postmeta c ON (a.ID = c.post_id);
—————————————————————
Automatically empty the trash by adding this line to your wp-config.php file.
define(‘EMPTY_TRASH_DAYS’, 10 );
—————————————————————Any additional ideas for .htaccess file speed-up…please share!
AntonioThank you.
Hello Tahir,
Can you please advise if my settings will have a negative effect?
Thanks
Thanks but that actually won’t work and error will still appear. For my case, I won’t upload max images 1200x 630.
So what I did was go into the Open Grahp+ selection menu under / General
-Uncheck “Cropped”
-Uncheck “Auto-Resize Images”
-Selected “Clear-All Cache”Error is now gone.
Will this affect me in any way moving forward?
Got it…thank you!
Thank you!
Can you please share you removed the comment-area icon?
-