I have applied caching on our live website http://www.cycloongroep.nl. I have got comments from visitors that there is no lay-out at the first visit of the website there is no layout. Only after a refresh the website shown with the correct CSS lay-out. I had applied caching on several locations:
1. Caching options GavickPro Publisher template
2. Caching in Joomla (conservative file)
3. Caching htaccess
4. Gzip compression
Steps taken to resolve the issue:
1. Removed the template.
2. Re-installed template from scratch
3. Disabled Joomla caching and cleared cache folder
4. Removed caching options from htaccess
5. Disabled Gzip compression
6. Cleared browser cache
This did not resolve the issue at first load the page source shows this as template CSS (left out other non template CSS links).
- Code: Select all
<link rel="stylesheet" href="/cache/gk/ee6d12bad285e5a0be04cd2e83fffd01.css.php" type="text/css" />
After a refresh of the page the page source shows the correct CSS links and CSS lay-out is applied correct.
- Code: Select all
<link rel="stylesheet" href="<template_path>/css/k2.css" type="text/css" />
<link rel="stylesheet" href="<template_path>/css/normalize.css" type="text/css" />
<link rel="stylesheet" href="<template_path>/css/layout.css" type="text/css" />
<link rel="stylesheet" href="<template_path>/css/joomla.css" type="text/css" />
<link rel="stylesheet" href="<template_path>/css/system/system.css" type="text/css" />
<link rel="stylesheet" href="<template_path>/css/template.css" type="text/css" />
<link rel="stylesheet" href="<template_path>/css/menu/menu.css" type="text/css" />
<link rel="stylesheet" href="<template_path>/css/gk.stuff.css" type="text/css" />
<link rel="stylesheet" href="<template_path>/css/style1.css" type="text/css" id="gkCSSstyle1" />
<link rel="stylesheet" href="<template_path>/css/typography/typography.style1.css" type="text/css" id="gkCSSTypographyStyle1" />
<link rel="stylesheet" href="<template_path>/css/typography/typography.iconset.style1.css" type="text/css" id="gkCSSTypographyIconsetStyle1" />
<link rel="stylesheet" href="<template_path>/css/override.css" type="text/css" />
Any idea where to look next? I'm also about to open an support ticket at our hosting provider to see if the htaccess cache options messed things up.