Nuxt-pwa doesn't cache routes. Is it optional? - caching

How to reproduce problem:
Create pages:
index.vue (has nuxt-link to=/huindex)
huindex.vue
Build&Run
Open http://localhost:3000
Click link to /huindex
Stop server
Refresh page and POOF! Get network error instead cached huindex page
Okaaay.
Open http://localhost:3000 again and get it from cache
Click link to /huindex and get huindex page from cache
Okaaay.
Run server again
Open http://localhost:3000/huindex
Stop server
Refresh page and get huindex page from cache

Related

TYPO3 6.1 + macina_banner 1.5.3 : Redirect fail after migration to HTTPS

TYPO3 6.1 + Macina banner
macina_banners 1.5.3
Tested on Chrome and Firefox
I use EXT: macina_banners to display banners
Everything was working fine until I switched to HTTPS.
After migrating to HTTPS, redirect stop working
Since I changed to HTTPS, a click on the banner reloads the same page, and redirect does not work.
When I am logged in TYPO3 backend, when I click on the banner it still reloads the same page, but if after that I reload the page with ctrl+MAJ+R, I am redirected to the target page.
If I reload the page with ctrl+MAJ instead of ctrl+MAJ+R, it just reloads the same page with no redirect.
I am a bit confused because It looks like a cache issue, but the problem appears only with HTTPS, and everything works fine with my dev website which is HTTP.
I have checked the ext code, I didn't find anything (but I am not a php expert).
I have deleted the content of typo3temps, it didn't solve the problem
Any idea what could be the problem or where to investigate?
Summary :
Not logged in the backend
When reloading page with ctrl+R, reload the same page: KO
When reloading page with ctrl+MAJ+R, reload the same page: KO
logged in backend
When reloading page with ctrl+R, reload the same page: KO
When reloading page with ctrl+MAJ+R, load the target page: OK
Please Update TYPO3 version 6.1 does not get any security updates. This means you running an security risk. And might be liable. And my guess not many active community members are able to help you as your versions are ancient

Https error with prestashop homepage

I have a problem. I activated https on my ecommerce website prestashop and made all the settings and the security lock appears on all pages of the site except the home page. voci the link of the site: https://ivoirehorloge.com/index.php
The two CMS content on the right side of the page "Découvrez nos horloges" isn't using https for the two images :
http://ivoirehorloge.com/img/cms/4_1.jpg
http://ivoirehorloge.com/img/cms/5_1.jpg
If you look at your browser debug console, you will see a message like :
Mixed Content: The page at 'https://ivoirehorloge.com/index.php' was loaded over HTTPS, but requested an insecure image 'http://ivoirehorloge.com/img/cms/5_1.jpg'. This content should also be served over HTTPS."

Login error not working on Magento 1.9.2.4

I created a website here - http://sdl2.alphalogichq.com/index.php/customer/account/login/
When I enter any email, for ex. abc#xyz.com and password - pass123 (both of them are wrong), it should ideally give me error Invalid login or password.
But here it just loads from cache and doesn't show the error. I need to force reload (CTRL + F5), and then it shows the error.
How can I change the behavior so it works properly?
I found X-Cache, X-Cache-Hits and X-Cacheable in response header that shows you are using some kind of caching. This is caching is implemented in server not by magento. I think this is Varnish cache as i found X-Varnish response header.
Cache HIT occurs when page load normally and cache miss occurs when you reload when load with CTRL+F5.
To resolve this issue ask your web hosting provide to disable Varnish cache. And i suggest you to use magento's cache and you can use Lesti FPC which is better to optimize website.

Sahi controller not working for https sites in Google chrome & IE

When i was trying to navigate to the https:// site from SAHI controller then it was giving some certificate error in chrome/IE browser and I have to click "Continue to this website (not recommended)." every time, and after clicking on that it shows the error
This is not a trusted Host.
Please click on the link below to open page requested by you.
Access Page // this text has link to the given url
so that I have created a certificate (ref link :Create and import certificate) for that site and . After that I am not getting certificate error but still I am getting error :
This is not a trusted Host.
Please click on the link below to open page requested by you.
Access Page // this text has link to the given url
And also after coming to this page I am not able to get Sahi controller in both chrome and ie browser.
Info :
Chrome version : 38.0.2125.111
IE 10.
Please help.
Revert back the changes that you did. Start Sahi and click on the SSL link present on the Sahi dashboard. Launch a browser through Sahi and go to https://www.google.com
If this opens up correctly, you problem is solved. If not, let me know what happens.
if the page is displaying you advance setting option then you can click on it , and click proceed unsafe.
else in beginning where you write URL for Sahipro , you can click SSL option.

Magento From local server to live web server, links not working

Now, the homepage is working fine but every link on it directs you to a 404 not found error. Can't even access "/admin".
Just add "index.php" next to the domain. For ex: If your website name is www.google.com then try to access this as www.google.com/index.php/electronics/cell-phones.html
This is due to the url rewrite in magento.
Permanent solution: Go to the admin and follow this:
System-> Configuration -> Web ->Search engine Optimization -> Url Web Server Rewrites. Make this to YES and SAVE the changes.
Now clear the cache and navigate to all the page in your website.

Resources