0

I'm kind of having some troubles with the loading of my website. It sometimes loads fast, then when you refresh it, most of the time, it will just keep trying to load images. It will keep doing that for a minute or so, and none of the JavaScript will execute.

I have followed most of the tips given by Yahoo, except caching, which I couldn't get working properly.

Does anyone know how to do proper caching of image and JavaScript files using htaccess? Most of the code I found online won't work.

5
  • most of the code should work... have you checked the error log of apache?
    – Karoly Horvath
    Commented Feb 28, 2012 at 23:52
  • No.. where is it located?
    – Michael Schinis
    Commented Feb 28, 2012 at 23:53
  • google.com/search?q=apache+error+log+location
    – Karoly Horvath
    Commented Feb 28, 2012 at 23:55
  • It's empty for today..
    – Michael Schinis
    Commented Feb 29, 2012 at 0:05
  • 2
    How much effort have you exerted with caching? Although this link gives you the full tutorial: askapache.com/htaccess/…. These links may also help you: tutorialpedia.org/tutorials/… & thecreatology.com/…
    – Ann B.
    Commented Feb 29, 2012 at 0:33

1 Answer 1

0

The link given by Ann B, has solved all of my problems.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.