Header says no caching and expire date in the past

Discussion regarding Joomla! 3.x Performance issues.

Moderators: General Support Moderators, General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
Joomla! Intern
Joomla! Intern
Posts: 68
Joined: Wed Mar 14, 2007 11:01 am

Header says no caching and expire date in the past

Post by capeinfo » Sun Nov 29, 2020 8:52 am


My site uses joomla caching and jch optimise, but looking at the headers I see the following:
How can I rectify this?
You do not have the required permissions to view the files attached to this post.

Joomla! Hero
Joomla! Hero
Posts: 2908
Joined: Sun May 04, 2008 12:37 pm

Re: Header says no caching and expire date in the past

Post by waarnemer » Mon Nov 30, 2020 7:57 am

Since you are using a CMS that creates dynamic pages, by default the generated PHP is not to be cached by your browser.

Static content such as css, jpg, js and on can and will usually be cached.

Read more on: https://docs.joomla.org/Cache and there is a huge bunch more written on cache mechanisms throughout the web.

Beware optimizers that shrink and combine scripts have the scripts generated and therefore may have odd epiry dates on those too.
Do read the documentation thoroughly. JCH has very good documentation. Good configuration can help, bad config is just slowing your site.

Post Reply

Return to “Performance - Joomla! 3.x”