I am building my new site on a sub-menu from my working site.
I need some extensions to work in Admin but it seems to hit cache problems.
My POS extension only works after refeshing the page ? Already hit the clean theme cache and SASS cache many times and also refresh modifications.
So topics and my hostingprovider tell me the problem is in the .htaccess file there i have to write script to stop cache and others talk about cleaning in cpanel.
I at this moment know my hosting provider works with OPCache and they tell me to turn this off in .htaccess or a php scipt in opencart but how ?
It looks like the opencart does not refesh after a change so when a add a product in POS it shows the price but the product does not apper in the dislay but if i hit refresh button in my browser it appers.
It's a new installation with only what i need as extensions any one a idea ??
www.marqasa.nl/mercado
Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com
php_flag opcache.enable Off
or
opcache.enable=0
As OpenCart has a php.ini you could also edit that and place the opcache.enable=0 into that which will have the same effect depending on how PHP has been configured by your webhost.
If in doubt contact your webhost.
As for the OpenCart Cache when you are logged into the admin area have you tried the settings button under logout and turning the cache off?
opencart 3.0.2.0
You might need to set the caching better for browsers in system/framework.php
Code: Select all
// Response
$response = new Response();
$response->addHeader('Content-Type: text/html; charset=utf-8');
$response->addHeader('Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0');
$response->addHeader('Pragma: no-cache');
$response->setCompression($config->get('config_compression'));
$registry->set('response', $response);
Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.
Thank you, but I somehow know all this :-)
I meant, besides obvious stuff like modification cache, the rest itsn't really cached. Just some stuff like countries and zones. The rest is cached by the browser or 3rd party extensions, PHP modules or services.
Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com
I know, I just wanted a chance to use my meme
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
informationthe rest itsn't really cached
country.admin
currency
geo_zone
admin.language
length_class
order_status
return_action
stock_status
tax_class
weight_class
zone.country_id
voucher_theme.language_id
store
ebay_listing
etsy_categories
manufacturer
product_latest
product_popular
product_bestseller
country.catalog
catalog.language
return.reason
arrogance and incompetence, a powerful combination.
Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.
Not actually reading other people replies and rush to post a stupid reply of your own is even more powerful combination. "Just some stuff like countries and zones" is a short version of your list, which nobody asked you to post. Congratulations on wasting your time, show-off.
Oh, and yes, comparing to WordPress, OpenCart doesn't even try to cache anything. So my assumption stays.
Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com
Users browsing this forum: No registered users and 247 guests