Post by mayankgoyal01 » Thu Dec 14, 2017 1:57 pm

If I apply a coupon, changes can be only seen after I refresh the page. Similarly if I make a change in backend like clearing log function. I get success message when I hit refresh. The problem is with each and every tsk I perform. I don't know where the problem is. Please help.

Here is the code for cache in my .htaccess if in case there is cache problem. Let me know how it'll be resolved.
Thanks in advance

Code: Select all

# Enable Gzip Compression
AddOutputFilterByType DEFLATE text/text
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

# Leverage Browser Caching
<IfModule mod_expires.c>
ExpiresActive On
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/css "access plus 1 month"
ExpiresByType application/pdf "access plus 1 month"
ExpiresByType text/x-javascript "access plus 1 month"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
ExpiresByType image/x-icon "access plus 1 year"
ExpiresDefault "access plus 1 month"
</IfModule>

# Remove Browser 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

Newbie

Posts

Joined
Wed Nov 22, 2017 5:58 pm

Post by straightlight » Thu Dec 14, 2017 10:17 pm

If I apply a coupon, changes can be only seen after I refresh the page. Similarly if I make a change in backend like clearing log function. I get success message when I hit refresh. The problem is with each and every tsk I perform. I don't know where the problem is. Please help.
No OC version provided with provided .htaccess file.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: Semrush [Bot] and 515 guests