Increase Your Child's I.Q.
iPad Wallpapers
Turtle & Tortoise Screen Savers
[SOLVED][SOLVED][SOLVED][SOLVED][SOLVED]
I have set up an images.prochem.net.nz sub domain to try and optimise my images...
I have changed both the config.php pages...
But the problem is that on my product page, it is still looking to www.prochem.net.nz/image/data/cache/(file).jpg and not www.images.prochem.net.nz/data/cache/(file).jpg
Please help me to fix this as this is very urgent...
please note that my current website is www.prochem.net.nz
[SOLVED][SOLVED][SOLVED][SOLVED][SOLVED]
Many Thanks
Jem
Hand Dryers
Bookstore Mod
QuickShop Module
Restricted Access - Compulsory Login
Template Override - Category Specific (vQmod)
Template Override - Brand Specific (vQmod)
How did you find out about us register question mod
Compulsory Login vQmod
Brands In Top Menu
zoom - Product Image - Auto on hover
deludeddonny wrote:OK I got the image subdomain thing to work, and it made a HUGE difference,
I am now trying to add the gzip & cache thing...
This is my .htaccess
but I get 500 error... any ideas?Code: Select all
# 1.To use URL Alias you need to be running apache with mod_rewrite enabled. # 2. In your opencart directory rename htaccess.txt to .htaccess # For any support issues please visit: http://www.opencart.com Options +FollowSymlinks # Prevent Directoy listing Options -Indexes # Prevent Direct Access to files <FilesMatch "\.(tpl|ini)"> Order deny,allow Deny from all </FilesMatch> # SEO URL Settings RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA] ### Additional Settings that may need to be enabled for some servers ### Uncomment the commands by removing the # sign in front of it. ### If you get an "Internal Server Error 500" after enabling, then restore the # as this means your host doesn't allow that. <IfModule mod_deflate.c> <FilesMatch "\.(js|css)$"> SetOutputFilter DEFLATE </FilesMatch> </IfModule> # Turn on Expires and set default to 0 ExpiresActive On ExpiresDefault A0 # Set up caching on media files for 5 weeks <FilesMatch "\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav)$"> ExpiresDefault A3024000 Header append Cache-Control "public" </FilesMatch> # Set up caching on media files for 5 weeks <FilesMatch "\.(gif|jpg|jpeg|png|swf)$"> ExpiresDefault A3024000 Header append Cache-Control "public" </FilesMatch> # Set up 1 day caching on commonly updated files <FilesMatch "\.(xml|txt|html|js|css)$"> ExpiresDefault A86400 Header append Cache-Control "proxy-revalidate" </FilesMatch> # Force no caching for dynamic files <FilesMatch "\.(php|cgi|pl|htm)$"> ExpiresActive Off Header set Cache-Control "private, no-cache, no-store, proxy-revalidate, no-transform" Header set Pragma "no-cache" </FilesMatch>
According to my info.php I should have gzip & deflate support...
I'm having the same issue of 500 error.
As soon as I enter this I get the issue, even if I leave all the other additional code off:
# Turn on Expires and set default to 0
ExpiresActive On
ExpiresDefault A0
All options that should be enabled are according to my host... any ideas anyone?moggiex wrote:Superb post, although in a dev environment I'd not suggest caching anything
To add to the above several mods that are required are not enabled by default these are:
1. mod_headers
2. mod_expire
3. mod_headers
See http://www.virtualistic.nl/archives/73 on how to load them, once enabled they'll stop the server 500 errors you've most likely just received (like I just got).
Just remember to reload apache!
/etc/init.d/apache2 force-reload
Matt
Google Analytics Expert - Advanced e-commerce tracking, Product & options reporting, transaction/conversion reporting, Google Adwords conversion & profit reporting, goal & funnel reporting, event tracking, site search tracking, multi-store compatibility, EU Cookie Law compliance and works with any theme or checkout! Easy vqmod install. Get it here
Try thisPostby spitos » Fri May 27, 2011 2:38 am
but I get 500 error... any ideas?
According to my info.php I should have gzip & deflate support...
Matt
All options that should be enabled are according to my host... any ideas anyone?
Code: Select all
php_flag magic_quotes_gpc off
<IfModule mod_deflate.c>
<FilesMatch "\.(js|css)$">
SetOutputFilter DEFLATE
</FilesMatch>
</IfModule>
php_value output_handler ob_gzhandler
# compress the files
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/x-javascript
# removes some bugs
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4.0[678] no-gzip
BrowserMatch bMSIE !no-gzip !gzip-only-text/html
Header append Vary User-Agent
# compress text, html, javascript, css, xml:
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
# Or, compress certain file types by extension:
<Files *.html>
SetOutputFilter DEFLATE
</Files>
# Or, compress certain file types by extension:
<Files *.css>
SetOutputFilter DEFLATE
</Files>
# Or, compress certain file types by extension:
<Files *.js>
SetOutputFilter DEFLATE
</Files>
# Turn on Expires and set default to 0
ExpiresActive On
ExpiresDefault A0
# Set up caching on media files for 5 weeks
<FilesMatch "\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav)$">
ExpiresDefault A3024000
Header append Cache-Control "public"
</FilesMatch>
# Set up caching on media files for 5 weeks
<FilesMatch "\.(gif|jpg|jpeg|png|swf)$">
ExpiresDefault A3024000
Header append Cache-Control "public"
</FilesMatch>
# Set up 5 weeks caching on commonly updated files (change to A86400 for 1 day)
<FilesMatch "\.(xml|txt|html|js|css)$">
ExpiresDefault A3024000
Header append Cache-Control "proxy-revalidate"
</FilesMatch>
# Force no caching for dynamic files
<FilesMatch "\.(php|cgi|pl|htm)$">
ExpiresActive Off
Header set Cache-Control "private, no-cache, no-store, proxy-revalidate, no-transform"
Header set Pragma "no-cache"
</FilesMatch>
Options +FollowSymlinks
# Prevent Directoy listing
Options -Indexes
# Prevent Direct Access to files
<FilesMatch "\.(tpl|ini|log)">
Order deny,allow
Deny from all
</FilesMatch>
# SEO URL Settings
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
Check out my site if you want... its a new one... http://www.prochem.net.nz
Any ideas about my image sub domain... any images that i load on the individual product pages wont load from images.prochem.net.nz they are still looking at http://www.porchem.net.nz/images/data
I'd appreciate any help
Thanks
Jem
Hand Dryers
Bookstore Mod
QuickShop Module
Restricted Access - Compulsory Login
Template Override - Category Specific (vQmod)
Template Override - Brand Specific (vQmod)
How did you find out about us register question mod
Compulsory Login vQmod
Brands In Top Menu
zoom - Product Image - Auto on hover
All working now!
Google Analytics Expert - Advanced e-commerce tracking, Product & options reporting, transaction/conversion reporting, Google Adwords conversion & profit reporting, goal & funnel reporting, event tracking, site search tracking, multi-store compatibility, EU Cookie Law compliance and works with any theme or checkout! Easy vqmod install. Get it here
This involves the fancybox css, at catalog/view/javascript/jquery/fancybox/jquery.fancybox-1.3.4.css.
There are reports that the IE-specific styling can cause minor 404 errors, page load slowdown and even browser freezing in IE. (example 1 | example 2 ) YSlow warns that the AlphaImageLoader filters are a problem. (More about this here).
A few fixes are suggested online, some of which advise fixing the paths in the IE styling with absolute URLs. I decided to just delete the IE styles, as discussed in this post.
http://www.opencart.com/forum/viewtopic ... 93#p177544
Your decision may differ, but hope this helps. Comments/advice welcome.
With over 33,000 categories & 60,000+ products, page load time is fine.
http://www.opencart.com/index.php?route ... on_id=3444
Google Analytics Expert - Advanced e-commerce tracking, Product & options reporting, transaction/conversion reporting, Google Adwords conversion & profit reporting, goal & funnel reporting, event tracking, site search tracking, multi-store compatibility, EU Cookie Law compliance and works with any theme or checkout! Easy vqmod install. Get it here
Before i did Speed Up Page Content i got the score of 47/100 in google page rank but after i did evrything you said i got 92/100 that's awsome.
I found an explanation on how to create subdomain if any one is loking for it.
http://www.inmotionhosting.com/support/ ... n-opencart
also this site can cheack your speed
http://www.speedupper.com
thank's again!
i'm using v1.5.1.3
Nevermind. It works now. Not sure what happened.
I am running some URL rewrite tool - do I just open the .htaccess I have and add the code.
Prior experiments with the .htaccess file (primarly to block inbound traffic from China, Nigera et al) has lead to a 500error.
My site is running 20,000 products - so, anything I can do (I have a java/css cache tool with the theme), I will run/have run server .gzip, but anything I can do to make this function would be, I guess, worth it?
aside, but aligned to page delivery speed - things like google fonts, Facebook pull in and twitter feeds? what is the general concensus? Keep'em or kill'em?
Jeremy Fisk wrote:Yep... I had a simmilar problem to "spitos" but my new .htaccess fixed it...
Try thisPostby spitos » Fri May 27, 2011 2:38 am
but I get 500 error... any ideas?
According to my info.php I should have gzip & deflate support...
Matt
All options that should be enabled are according to my host... any ideas anyone?
It works for me...Code: Select all
php_flag magic_quotes_gpc off <IfModule mod_deflate.c> <FilesMatch "\.(js|css)$"> SetOutputFilter DEFLATE </FilesMatch> </IfModule> php_value output_handler ob_gzhandler # compress the files AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/x-javascript # removes some bugs BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4.0[678] no-gzip BrowserMatch bMSIE !no-gzip !gzip-only-text/html Header append Vary User-Agent # compress text, html, javascript, css, xml: AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/xml AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE application/xml AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE application/rss+xml AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/x-javascript # Or, compress certain file types by extension: <Files *.html> SetOutputFilter DEFLATE </Files> # Or, compress certain file types by extension: <Files *.css> SetOutputFilter DEFLATE </Files> # Or, compress certain file types by extension: <Files *.js> SetOutputFilter DEFLATE </Files> # Turn on Expires and set default to 0 ExpiresActive On ExpiresDefault A0 # Set up caching on media files for 5 weeks <FilesMatch "\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav)$"> ExpiresDefault A3024000 Header append Cache-Control "public" </FilesMatch> # Set up caching on media files for 5 weeks <FilesMatch "\.(gif|jpg|jpeg|png|swf)$"> ExpiresDefault A3024000 Header append Cache-Control "public" </FilesMatch> # Set up 5 weeks caching on commonly updated files (change to A86400 for 1 day) <FilesMatch "\.(xml|txt|html|js|css)$"> ExpiresDefault A3024000 Header append Cache-Control "proxy-revalidate" </FilesMatch> # Force no caching for dynamic files <FilesMatch "\.(php|cgi|pl|htm)$"> ExpiresActive Off Header set Cache-Control "private, no-cache, no-store, proxy-revalidate, no-transform" Header set Pragma "no-cache" </FilesMatch> Options +FollowSymlinks # Prevent Directoy listing Options -Indexes # Prevent Direct Access to files <FilesMatch "\.(tpl|ini|log)"> Order deny,allow Deny from all </FilesMatch> # SEO URL Settings RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
Check out my site if you want... its a new one... http://www.prochem.net.nz
Any ideas about my image sub domain... any images that i load on the individual product pages wont load from images.prochem.net.nz they are still looking at http://www.porchem.net.nz/images/data
I'd appreciate any help
Thanks
Jem
Simply modify your config as such...
define('HTTPS_IMAGE', 'https://www.yourdomain.com/img/');
It's easy to get into "subdomain" tunnel vision, and forget that it can also be referenced as a subdirectory :-)
I'm using 1.5.5.1 and the config file no longer has this line
define('HTTP_IMAGE', 'http://mydomain.com/');
Is it still possible to use a subdomain with 1.5.5.1?
Does anyone have any good suggestions for fast themes that still look modern?
Thanks
Some of the new responsive themes look wonderful, cool features, slideshows everywhere but they are beasts.
http://www.opencart.com/index.php?route ... n_id=10573
I wish OpenCart can improve the speed without too many depend on extension, many people say current opencart is too slow.
If user want much faster then they can buy extension
http://www.opencart.com/index.php?route ... n_id=18138
It's enables you to compress all the existing images on your site and then automatically optimises any that you upload afterwards.
http://demo.devs.mx/slow
http://demo.devs.mx/fast
Users browsing this forum: No registered users and 48 guests